aboutsummaryrefslogtreecommitdiffstats
path: root/lib/atomic64.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-05-02 15:21:38 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2018-05-18 12:03:51 -0400
commit60d6d22d85a79d194e9e1a13b831ffafa741cd6e (patch)
treec89d901180c6e9fd625925907871a9b6d766f758 /lib/atomic64.c
parent092b45583c524edac688f0b6cdc62a70c3081e4a (diff)
downloadlinux-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/atomic64.c')
0 files changed, 0 insertions, 0 deletions