summaryrefslogtreecommitdiff
path: root/fs/signalfd.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <mcgrof@kernel.org>2018-03-10 17:14:59 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-03-20 11:28:47 +0300
commit995e8695f65db7a8b465b5c27887b32e8e5bb66e (patch)
tree14765863ac5c5cf5a646f7f8dc807c4de9d147a2 /fs/signalfd.c
parent9952db75e0659d9db62d76d9a351fdae06898642 (diff)
downloadlinux-995e8695f65db7a8b465b5c27887b32e8e5bb66e.tar.xz
firmware: ensure the firmware cache is not used on incompatible calls
request_firmware_into_buf() explicitly disables the firmware cache, meanwhile the firmware cache cannot be used when request_firmware_nowait() is used without the uevent. Enforce a sanity check for this to avoid future issues undocumented behaviours should misuses of the firmware cache happen later. One of the reasons we want to enforce this is the firmware cache is used for helping with suspend/resume, and if incompatible calls use it they can stall suspend. Signed-off-by: Luis R. Rodriguez <mcgrof@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/signalfd.c')
0 files changed, 0 insertions, 0 deletions