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
nexedi
linux
Commits
db80000f
Commit
db80000f
authored
Mar 23, 2003
by
Jens Axboe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Check remailing length in ide-cd.c correctly
It could be negative.
parent
272c1188
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
drivers/ide/ide-cd.c
drivers/ide/ide-cd.c
+2
-2
No files found.
drivers/ide/ide-cd.c
View file @
db80000f
...
@@ -1749,8 +1749,8 @@ static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive)
...
@@ -1749,8 +1749,8 @@ static ide_startstop_t cdrom_newpc_intr(ide_drive_t *drive)
/*
/*
* pad, if necessary
* pad, if necessary
*/
*/
if
(
len
)
{
if
(
len
>
0
)
{
while
(
len
)
{
while
(
len
>
0
)
{
int
pad
=
0
;
int
pad
=
0
;
xferfunc
(
drive
,
&
pad
,
sizeof
(
pad
));
xferfunc
(
drive
,
&
pad
,
sizeof
(
pad
));
...
...
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