diff options
author | Kees Cook <keescook@chromium.org> | 2018-05-02 15:21:38 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-05-18 12:03:51 -0400 |
commit | 60d6d22d85a79d194e9e1a13b831ffafa741cd6e (patch) | |
tree | c89d901180c6e9fd625925907871a9b6d766f758 /lib/notifier-error-inject.h | |
parent | 092b45583c524edac688f0b6cdc62a70c3081e4a (diff) | |
download | linux-60d6d22d85a79d194e9e1a13b831ffafa741cd6e.tar.gz |
scsi: dpt_i2o: Remove VLA usage
On the quest to remove all VLAs from the kernel[1] this moves the
sg_list variable off the stack, as already done for other allocated
buffers in adpt_i2o_passthru(). Additionally consolidates the error path
for kfree().
[1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'lib/notifier-error-inject.h')
0 files changed, 0 insertions, 0 deletions