diff options
author | 2006-05-01 12:16:00 -0700 | |
---|---|---|
committer | 2006-05-01 18:17:44 -0700 | |
commit | 2ace87b9502d922397cabaf07d73e0b60c480ecf (patch) | |
tree | b354425542c4b2cff20dc20cd65d0e8eeec2c7c4 /mm/sparse.c | |
parent | [PATCH] uml: update defconfig (diff) | |
download | linux-rng-2ace87b9502d922397cabaf07d73e0b60c480ecf.tar.xz linux-rng-2ace87b9502d922397cabaf07d73e0b60c480ecf.zip |
[PATCH] uml: error handling fixes
Blairsorblade noticed some confusion between our use of a system
call's return value and errno. This patch fixes a number of related
bugs -
using errno instead of a return value
using a return value instead of errno
forgetting to negate a error return to get a positive error code
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions