aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2018-05-02 16:58:09 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2018-05-18 10:36:09 -0400
commitbbe21d7a979245902113e171fdb36b57812b3c3b (patch)
tree065870886eef6ec945d0aa5f7e804c2017102969 /include/linux/timerqueue.h
parentscsi: mptlan: Fix mpt_lan_sdu_send()'s return type (diff)
scsi: ufs: ufshcd: Remove VLA usage
On the quest to remove all VLAs from the kernel[1] this moves buffers off the stack. In the second instance, this collapses two separately allocated buffers into a single buffer, since they are used consecutively, which saves 256 bytes (QUERY_DESC_MAX_SIZE + 1) of stack space. [1] https://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions