commit | 3f0d97d97f2b539cf9ac746be4ec097259e6a8d0 | [log] [tgz] |
---|---|---|
author | Jean-Michel Hautbois <jean-michel.hautbois@vodalys.com> | Tue Aug 05 18:19:37 2014 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Sep 08 14:38:14 2014 -0700 |
tree | abdaa471dee67507343ac4f4586306003e5e4e0c | |
parent | 69e273c0b0a3c337a521d083374c918dc52c666f [diff] |
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 <jean-michel.hautbois@vodalys.com> Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>