From: Ben Hutchings Date: Sat, 28 Dec 2013 15:53:59 +0000 (+0100) Subject: firmware_class: Fix the file size check X-Git-Tag: v3.14-rc1~151^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08da2012e0bb0f3f1422cce3f76c36a90da366b5;p=pandora-kernel.git firmware_class: Fix the file size check We expect to read firmware blobs with a single call to kernel_read(), which returns int. Therefore the size must be within the range of int, not long. Signed-off-by: Ben Hutchings Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed