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
2d240b7a
Commit
2d240b7a
authored
Aug 24, 2003
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc
parents
2dcca542
6c944c97
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Makefile
Makefile
+1
-1
drivers/ide/ide-cd.c
drivers/ide/ide-cd.c
+5
-5
No files found.
Makefile
View file @
2d240b7a
VERSION
=
2
PATCHLEVEL
=
6
SUBLEVEL
=
0
EXTRAVERSION
=
-test
3
EXTRAVERSION
=
-test
4
# *DOCUMENTATION*
# To see a list of typical targets execute "make help"
...
...
drivers/ide/ide-cd.c
View file @
2d240b7a
...
...
@@ -794,16 +794,16 @@ static int cdrom_decode_status(ide_drive_t *drive, int good_stat, int *stat_ret)
request or data protect error.*/
ide_dump_status
(
drive
,
"command error"
,
stat
);
do_end_request
=
1
;
}
else
if
((
err
&
~
ABRT_ERR
)
!=
0
)
{
/* Go to the default handler
for other errors. */
DRIVER
(
drive
)
->
error
(
drive
,
"cdrom_decode_status"
,
stat
);
return
1
;
}
else
if
(
sense_key
==
MEDIUM_ERROR
)
{
/* No point in re-trying a zillion times on a bad
* sector... If we got here the error is not correctable */
ide_dump_status
(
drive
,
"media error (bad sector)"
,
stat
);
do_end_request
=
1
;
}
else
if
((
err
&
~
ABRT_ERR
)
!=
0
)
{
/* Go to the default handler
for other errors. */
DRIVER
(
drive
)
->
error
(
drive
,
"cdrom_decode_status"
,
stat
);
return
1
;
}
else
if
((
++
rq
->
errors
>
ERROR_MAX
))
{
/* We've racked up too many retries. Abort. */
do_end_request
=
1
;
...
...
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