summaryrefslogtreecommitdiff
path: root/Documentation/scsi
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-07-04 12:20:36 +0200
committerRichard Weinberger <richard@nod.at>2024-09-12 19:51:26 +0200
commitec24b988eb26e21f37707d090ec3ab53c51fd386 (patch)
tree8cc74023d7c21be037a922d42c8034fb2ad91b32 /Documentation/scsi
parent431c1646e1f86b949fa3685efc50b660a364c2b6 (diff)
um: remove variable stack array in os_rcv_fd_msg()
When generalizing this, I was in the mindset of this being "userspace" code, but even there we should not use variable arrays as the kernel is moving away from allowing that. Simply reserve (but not use) enough space for the maximum two descriptors we might need now, and return an error if attempting to receive more than that. Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202407041459.3SYg4TEi-lkp@intel.com/ Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'Documentation/scsi')
0 files changed, 0 insertions, 0 deletions