From: Meelis Roos <mroos@linux.ee>
To: Linux Kernel list <linux-kernel@vger.kernel.org>
Subject: compat_sys_pselect7 warning
Date: Mon, 31 Jul 2006 13:11:50 +0300 (EEST) [thread overview]
Message-ID: <Pine.SOC.4.61.0607311300460.25364@math.ut.ee> (raw)
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)
reply other threads:[~2006-07-31 10:11 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.SOC.4.61.0607311300460.25364@math.ut.ee \
--to=mroos@linux.ee \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®