diff options
| author | Kees Cook <[email protected]> | 2014-09-18 18:25:37 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2014-09-24 06:26:58 +0000 |
| commit | 471b095dfe0d693a8d624cbc716d1ee4d74eb437 (patch) | |
| tree | 567180943a6b52e6029a30b6799520a341a990bb /lib/dynamic_debug.c | |
| parent | driver core: Remove kerneldoc from local function (diff) | |
| download | kernel-471b095dfe0d693a8d624cbc716d1ee4d74eb437.tar.gz kernel-471b095dfe0d693a8d624cbc716d1ee4d74eb437.zip | |
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]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions
