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
b16d3cbc
Commit
b16d3cbc
authored
May 26, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
32ac8e51
b19df996
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
drivers/ide/ide-cd.c
drivers/ide/ide-cd.c
+0
-6
No files found.
drivers/ide/ide-cd.c
View file @
b16d3cbc
...
...
@@ -2993,12 +2993,6 @@ static int ide_cdrom_prep_fs(request_queue_t *q, struct request *rq)
long
block
=
(
long
)
rq
->
hard_sector
/
(
hard_sect
>>
9
);
unsigned
long
blocks
=
rq
->
hard_nr_sectors
/
(
hard_sect
>>
9
);
BUG_ON
(
sizeof
(
rq
->
hard_sector
)
>
4
&&
(
rq
->
hard_sector
>>
32
));
if
(
rq
->
hard_nr_sectors
!=
rq
->
nr_sectors
)
{
printk
(
KERN_ERR
"ide-cd: hard_nr_sectors differs from nr_sectors! %lu %lu
\n
"
,
rq
->
nr_sectors
,
rq
->
hard_nr_sectors
);
}
memset
(
rq
->
cmd
,
0
,
sizeof
(
rq
->
cmd
));
if
(
rq_data_dir
(
rq
)
==
READ
)
...
...
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