]> git.baikalelectronics.ru Git - kernel.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)
commit8a8853b8b2825aaa2d7b713f535ae8f49f56a54d
tree84e4995b4e61b73ac1e235ea1554c75907ab08c4
parentc6c801446548109ef7a166e387f01e3a07140e27
[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