aboutsummaryrefslogtreecommitdiff
path: root/block/bsg.c
diff options
context:
space:
mode:
authorGravatar Kees Cook <keescook@chromium.org> 2018-07-31 12:51:53 -0700
committerGravatar Jens Axboe <axboe@kernel.dk> 2018-08-02 15:22:41 -0600
commit429296cc51c4cf145b240a78c8d68545e4d67e4c (patch)
tree1c85d9cb747756c6ca9b182e1695b3fc50a58380 /block/bsg.c
parentcdrom: Use struct scsi_sense_hdr internally (diff)
downloadlinux-429296cc51c4cf145b240a78c8d68545e4d67e4c.tar.gz
linux-429296cc51c4cf145b240a78c8d68545e4d67e4c.tar.bz2
linux-429296cc51c4cf145b240a78c8d68545e4d67e4c.zip
libata-scsi: Move sense buffers onto stack
To support future compile-time sizeof() checks that will be able to validate the length of sense buffers, this removes the only dynamically allocated sense buffers in the tree by putting the 96 byte sense buffers on the stack. Reviewed-by: Christoph Hellwig <hch@lst.de> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/bsg.c')
0 files changed, 0 insertions, 0 deletions