aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-10-26 12:18:53 +0100
committerMatt Fleming <matt.fleming@intel.com>2012-10-30 10:39:28 +0000
commitcfcf2f11708f934d2bd294f973c2fcb0cc54f293 (patch)
treef92e907f7e56bcf7617c9b56b9bd88450b61729a /fs
parentefivarfs: Return a consistent error when efivarfs_get_inode() fails (diff)
downloadlinux-dev-cfcf2f11708f934d2bd294f973c2fcb0cc54f293.tar.xz
linux-dev-cfcf2f11708f934d2bd294f973c2fcb0cc54f293.zip
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>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions