diff options
| author | 2018-05-02 15:21:38 -0700 | |
|---|---|---|
| committer | 2018-05-18 12:03:51 -0400 | |
| commit | 60d6d22d85a79d194e9e1a13b831ffafa741cd6e (patch) | |
| tree | c89d901180c6e9fd625925907871a9b6d766f758 /include/linux | |
| parent | scsi: ufs: Use freq table with devfreq (diff) | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
