]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] Check return value of copy_to_user in compat_sys_pselect7
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:39 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:39 +0000 (10:52 +0200)
commit758333458aa719bfc26ec16eafd4ad3a9e96014d
tree84e4995b4e61b73ac1e235ea1554c75907ab08c4
parent95912008ba1fb9d0677c1ce5930aeb0e85ba5710
[PATCH] Check return value of copy_to_user in compat_sys_pselect7

Fix

linux/fs/compat.c: In function compat_sys_pselect7
linux/fs/compat.c:1869: warning: ignoring return value of copy_to_user, declared with attribute warn_unused_result

To make it easier to handle I changed to semantics to not try to
write out a timespec if an error occurred. I hope that's ok.

Cc: dwmw2@infradead.org
Signed-off-by: Andi Kleen <ak@suse.de>
fs/compat.c