Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111032909
D48686.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
548 B
Referenced Files
None
Subscribers
None
D48686.diff
View Options
diff --git a/sys/cam/scsi/scsi_all.c b/sys/cam/scsi/scsi_all.c
--- a/sys/cam/scsi/scsi_all.c
+++ b/sys/cam/scsi/scsi_all.c
@@ -3330,9 +3330,10 @@
if (ascq <= table_entry->ascq) {
/* Check for ranges */
- if (ascq == table_entry->ascq
- || ((table_entry->action & SSQ_RANGE) != 0
- && ascq >= (table_entry - 1)->ascq))
+ if (ascq == table_entry->ascq ||
+ ((table_entry->action & SSQ_RANGE) != 0 &&
+ ascq >= (table_entry - 1)->ascq &&
+ ascq <= table_entry->ascq))
return (0);
return (-1);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 27, 11:46 AM (19 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16179423
Default Alt Text
D48686.diff (548 B)
Attached To
Mode
D48686: cam: Implement ascq ranges correctly
Attached
Detach File
Event Timeline
Log In to Comment