aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/basic/bin2c.c
diff options
context:
space:
mode:
authorTony Battersby <[email protected]>2018-07-11 14:46:03 +0000
committerJens Axboe <[email protected]>2018-07-11 14:48:28 +0000
commit70dbcc2254fa2a9add74a122b9dac954c4736e01 (patch)
treed68a78ec09666e1e9e142a4bc587c18059674a4f /scripts/basic/bin2c.c
parentloop: Add LOOP_SET_BLOCK_SIZE in compat ioctl (diff)
downloadkernel-70dbcc2254fa2a9add74a122b9dac954c4736e01.tar.gz
kernel-70dbcc2254fa2a9add74a122b9dac954c4736e01.zip
bsg: fix bogus EINVAL on non-data commands
Fix a regression introduced in Linux kernel 4.17 where sending a SCSI command that does not transfer data (such as TEST UNIT READY) via /dev/bsg/* results in EINVAL. Fixes: 17cb960f29c2 ("bsg: split handling of SCSI CDBs vs transport requeues") Cc: <[email protected]> # 4.17+ Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Tony Battersby <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/basic/bin2c.c')
0 files changed, 0 insertions, 0 deletions