From: Matt Fleming Date: Fri, 26 Oct 2012 11:18:53 +0000 (+0100) Subject: efivarfs: Fix return value of efivarfs_file_write() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~16^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfcf2f11708f934d2bd294f973c2fcb0cc54f293;p=pandora-kernel.git efivarfs: Fix return value of efivarfs_file_write() We're stuffing a variable of type size_t (unsigned) into a ssize_t (signed) which, even though both types should be the same number of bits, it's just asking for sign issues to be introduced. Cc: Jeremy Kerr Reported-by: Alan Cox Signed-off-by: Matt Fleming --- Reading git-diff-tree failed