From: Matthew Wilcox <matthew@wil.cx>
To: kernel-janitors@vger.kernel.org
Subject: Re: [KJ] [PATCH] Removal of compiler warnings in ipc/msg.c
Date: Tue, 17 Jul 2007 15:57:31 +0000 [thread overview]
Message-ID: <20070717155731.GC14791@parisc-linux.org> (raw)
In-Reply-To: <efa8e58e0707170238g9eda0e5rfa435afd30a4c3ef@mail.gmail.com>
On Tue, Jul 17, 2007 at 11:38:19AM +0200, Rune V. Sj??en wrote:
> Hello, this is my first patch so please be gentle.
> It fixes some compiler warnings in ipc/msg.c
>
> ipc/msg.c: In function 'sys_msgctl':
> ipc/msg.c:388: warning: 'setbuf.qbytes' may be used uninitialized in
> this function
These warnings are bogus -- it would be more helpful to look at
making GCC smarter so it doesn't emit this warning in this particular
case. I can prove quite easily that all paths to uses of qbytes
initialise it.
--
"Bill, look, we understand that you're interested in selling us this
operating system, but compare it to ours. We can't possibly take such
a retrograde step."
_______________________________________________
REMINDER: this mailing list moved to vger.kernel.org and current one will be discontinued soon.
To resubscribe, send email to majordomo@vger.kernel.org with
"subscribe kernel-janitors" in message body and follow instructions.
Kernel-janitors mailing list
Kernel-janitors@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/kernel-janitors
next prev parent reply other threads:[~2007-07-17 15:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-17 9:38 [KJ] [PATCH] Removal of compiler warnings in ipc/msg.c Rune V. Sjøen
2007-07-17 9:43 ` Bernd Petrovitsch
2007-07-17 10:00 ` Rune V. Sjøen
2007-07-17 10:12 ` Bernd Petrovitsch
2007-07-17 15:24 ` Randy Dunlap
2007-07-17 15:57 ` Matthew Wilcox [this message]
2007-07-17 16:01 ` "Rune V. Sjøen"
2007-07-18 22:34 ` Denver Gingerich
2007-07-19 8:13 ` pradeep singh
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=20070717155731.GC14791@parisc-linux.org \
--to=matthew@wil.cx \
--cc=kernel-janitors@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.