Page MenuHomeFreeBSD

D48686.diff
No OneTemporary

D48686.diff

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

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)

Event Timeline