Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
firmware_class: make sure fw requests contain a name
An empty firmware request name will trigger warnings when building device names. Make sure this is caught earlier and rejected. The warning was visible via the test_firmware.ko module interface: echo -ne "\x00" > /sys/devices/virtual/misc/test_firmware/trigger_request Reported-by: Sasha Levin <[email protected]> Signed-off-by: Kees Cook <[email protected]> Cc: [email protected] Tested-by: Sasha Levin <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
- Loading branch information