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
66eee7f9
Commit
66eee7f9
authored
May 11, 2003
by
James Bottomley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix thinko introduced into include/scsi/scsi.h
SAM_STAT_* are return codes, not bitmaps
parent
71d5d7e9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
include/scsi/scsi.h
include/scsi/scsi.h
+4
-4
No files found.
include/scsi/scsi.h
View file @
66eee7f9
...
...
@@ -137,11 +137,11 @@ static inline int scsi_status_is_good(int status)
status
&=
0xfe
;
return
((
status
&
SAM_STAT_GOOD
)
||
(
status
&
SAM_STAT_INTERMEDIATE
)
||
(
status
&
SAM_STAT_INTERMEDIATE_CONDITION_MET
)
return
((
status
==
SAM_STAT_GOOD
)
||
(
status
==
SAM_STAT_INTERMEDIATE
)
||
(
status
==
SAM_STAT_INTERMEDIATE_CONDITION_MET
)
/* FIXME: this is obsolete in SAM-3 */
||
(
status
&
SAM_STAT_COMMAND_TERMINATED
));
||
(
status
==
SAM_STAT_COMMAND_TERMINATED
));
}
/*
...
...
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