From: Jean-Michel Hautbois Date: Tue, 5 Aug 2014 16:19:37 +0000 (+0200) Subject: Lattice ECP3 FPGA: Check firmware pointer X-Git-Tag: fixes-for-v3.18-merge-window~134^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f0d97d97f2b539cf9ac746be4ec097259e6a8d0;p=pandora-kernel.git 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 Reviewed-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed