aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorJean-Michel Hautbois <[email protected]>2014-08-05 16:19:37 +0000
committerGreg Kroah-Hartman <[email protected]>2014-09-08 21:38:14 +0000
commit3f0d97d97f2b539cf9ac746be4ec097259e6a8d0 (patch)
treeabdaa471dee67507343ac4f4586306003e5e4e0c /lib/string.c
parentLinux 3.17-rc3 (diff)
downloadkernel-3f0d97d97f2b539cf9ac746be4ec097259e6a8d0.tar.gz
kernel-3f0d97d97f2b539cf9ac746be4ec097259e6a8d0.zip
Lattice ECP3 FPGA: Check firmware pointer
This patch corrects a lack of testing. If fw is NULL when calling firmware_load(), it results in a kernel oops. Signed-off-by: Jean-Michel Hautbois <[email protected]> Reviewed-by: Takashi Iwai <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions