commit | 429296cc51c4cf145b240a78c8d68545e4d67e4c | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Tue Jul 31 12:51:53 2018 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Aug 02 15:22:41 2018 -0600 |
tree | 1c85d9cb747756c6ca9b182e1695b3fc50a58380 | |
parent | 4e178c17cac07d58df7d31ef6fe10036cfa3883d [diff] |
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>