Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
b3c2a3a4
Commit
b3c2a3a4
authored
Jan 25, 2004
by
Ben Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[IDE]: Fix compilation warning
parent
672ab41e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/ide/ide-disk.c
drivers/ide/ide-disk.c
+2
-2
No files found.
drivers/ide/ide-disk.c
View file @
b3c2a3a4
...
@@ -1605,8 +1605,8 @@ static void idedisk_setup (ide_drive_t *drive)
...
@@ -1605,8 +1605,8 @@ static void idedisk_setup (ide_drive_t *drive)
if
(
drive
->
addressing
==
0
&&
drive
->
capacity64
>
1ULL
<<
28
)
{
if
(
drive
->
addressing
==
0
&&
drive
->
capacity64
>
1ULL
<<
28
)
{
printk
(
"%s: cannot use LBA48 - full capacity "
printk
(
"%s: cannot use LBA48 - full capacity "
"%llu sectors (%llu MB)
\n
"
,
"%llu sectors (%llu MB)
\n
"
,
drive
->
name
,
drive
->
name
,
(
unsigned
long
long
)
drive
->
capacity64
,
drive
->
capacity64
,
sectors_to_MB
(
drive
->
capacity64
));
sectors_to_MB
(
drive
->
capacity64
));
drive
->
capacity64
=
1ULL
<<
28
;
drive
->
capacity64
=
1ULL
<<
28
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment