From: David Binderman <dcb314@hotmail.com>
To: "funaho@jurai.org" <funaho@jurai.org>,
"linux-m68k@lists.linux-m68k.org"
<linux-m68k@lists.linux-m68k.org>
Subject: arch/m68k/mac/oss.c:51: bad for loop ?
Date: Fri, 27 Mar 2015 16:15:23 +0000 [thread overview]
Message-ID: <DUB128-W48788F7BD62EB2FDF776C79C090@phx.gbl> (raw)
Hello there,
arch/m68k/mac/oss.c:51:21: warning: iteration 16u invokes undefined behavior [-Waggressive-loop-optimizations]
for (i = 0; i <= OSS_NUM_SOURCES; i++) {
oss->irq_level[i] = 0;
}
Maybe better code
for (i = 0; i < OSS_NUM_SOURCES; i++) {
oss->irq_level[i] = 0;
}
Regards
David Binderman
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2015-03-27 16:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-27 16:15 David Binderman [this message]
2015-03-28 4:18 ` arch/m68k/mac/oss.c:51: bad for loop ? Finn Thain
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=DUB128-W48788F7BD62EB2FDF776C79C090@phx.gbl \
--to=dcb314@hotmail.com \
--cc=funaho@jurai.org \
--cc=linux-m68k@lists.linux-m68k.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