diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-01-30 13:48:40 -0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-02-26 21:37:26 -0500 |
commit | b2f860903fe9774f755a917edc674ba6e879fa55 (patch) | |
tree | 37963d8f6808f3e201cc0393e0e891def5be383a /net/ieee802154/core.h | |
parent | b1e5c0b34db8e7dac04af618e53c64e70c86aac8 (diff) | |
download | linux-stable-b2f860903fe9774f755a917edc674ba6e879fa55.tar.gz linux-stable-b2f860903fe9774f755a917edc674ba6e879fa55.tar.bz2 linux-stable-b2f860903fe9774f755a917edc674ba6e879fa55.zip |
scsi: scsi_debug: Rework page code error handling
Instead of tracking whether or not the page code is valid in a boolean
variable, jump to error handling code if an unsupported page code is
encountered.
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: Douglas Gilbert <dgilbert@interlog.com>
Tested-by: Douglas Gilbert <dgilbert@interlog.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240130214911.1863909-15-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'net/ieee802154/core.h')
0 files changed, 0 insertions, 0 deletions