diff options
author | 2009-05-14 09:49:44 +0200 | |
---|---|---|
committer | 2009-05-14 09:49:44 +0200 | |
commit | 77f6bf57ba9d2c50173536dbfdacdab27cb867ca (patch) | |
tree | 09cfb70eb20081d7fc5af21039e3fda7f0b95f84 /drivers/clocksource | |
parent | splice: fix repeated kmap()'s in default_file_splice_read() (diff) | |
download | linux-77f6bf57ba9d2c50173536dbfdacdab27cb867ca.tar.gz linux-77f6bf57ba9d2c50173536dbfdacdab27cb867ca.tar.bz2 linux-77f6bf57ba9d2c50173536dbfdacdab27cb867ca.zip |
splice: fix error return code
fs/splice.c: In function 'default_file_splice_read':
fs/splice.c:566: warning: 'error' may be used uninitialized in this function
which is sort-of true. The code will in fact return -ENOMEM instead of the
kernel_readv() return value.
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions