efivarfs: Fix return value of efivarfs_file_write()
authorMatt Fleming <matt.fleming@intel.com>
Fri, 26 Oct 2012 11:18:53 +0000 (12:18 +0100)
committerMatt Fleming <matt.fleming@intel.com>
Tue, 30 Oct 2012 10:39:28 +0000 (10:39 +0000)
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 <jeremy.kerr@canonical.com>
Reported-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>

No differences found