commit | cfcf2f11708f934d2bd294f973c2fcb0cc54f293 | [log] [tgz] |
---|---|---|
author | Matt Fleming <matt.fleming@intel.com> | Fri Oct 26 12:18:53 2012 +0100 |
committer | Matt Fleming <matt.fleming@intel.com> | Tue Oct 30 10:39:28 2012 +0000 |
tree | f92e907f7e56bcf7617c9b56b9bd88450b61729a | |
parent | aeeaa8d46aa38c9cc5fac23feb9b1f91bdbf5dd3 [diff] |
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 <jeremy.kerr@canonical.com> Reported-by: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Matt Fleming <matt.fleming@intel.com>