The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c64b3f32a570ede5c21a39a6c2ffec1ff41e5ff3
commit c64b3f32a570ede5c21a39a6c2ffec1ff41e5ff3 Author: Warner Losh <i...@freebsd.org> AuthorDate: 2025-01-28 20:08:51 +0000 Commit: Warner Losh <i...@freebsd.org> CommitDate: 2025-01-28 20:08:51 +0000 umass: Add comment for ASC/ASCQ 24h/00h INVALID FIELD IN CDB Add a comment for what this asc/ascq combo means. Very few people have this memorized. Sponsored by: Netflix --- sys/dev/usb/storage/umass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/usb/storage/umass.c b/sys/dev/usb/storage/umass.c index e0daada72bdb..ba10a23d2987 100644 --- a/sys/dev/usb/storage/umass.c +++ b/sys/dev/usb/storage/umass.c @@ -2247,7 +2247,7 @@ umass_cam_action(struct cam_sim *sim, union ccb *ccb) /*sense_format*/ SSD_TYPE_NONE, /*current_error*/ 1, /*sense_key*/ SSD_KEY_ILLEGAL_REQUEST, - /*asc*/ 0x24, + /*asc*/ 0x24, /* 24h/00h INVALID FIELD IN CDB */ /*ascq*/ 0x00, /*extra args*/ SSD_ELEM_NONE); ccb->csio.scsi_status = SCSI_STATUS_CHECK_COND;