lkml.org 
[lkml]   [2006]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectcompat_sys_pselect7 warning
This is 2.6.18-rc3 on sparc64 but posting on LKML since the warning 
cones from generic code (although guarded by
#ifdef TIF_RESTORE_SIGMASK).

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

I would just return EFAULT there when copy_to_user returns nonzero value
but there is some signal mask thing going on that someone more familiar
with the code should look.

--
Meelis Roos (mroos@linux.ee)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-31 12:15    [W:0.135 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site