mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* compat_sys_pselect7 warning
@ 2006-07-31 10:11 Meelis Roos
  0 siblings, 0 replies; only message in thread
From: Meelis Roos @ 2006-07-31 10:11 UTC (permalink / raw)
  To: Linux Kernel list

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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-31 10:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-31 10:11 compat_sys_pselect7 warning Meelis Roos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®