From: "Toralf Förster" <toralf.foerster@gmx.de>
To: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: v4.5-rc1 : arch/x86/kernel/hw_breakpoint.c:360:20: warning: ‘align’ may be used uninitialized
Date: Tue, 26 Jan 2016 20:29:36 +0100 [thread overview]
Message-ID: <56A7C920.2060706@gmx.de> (raw)
As a n00b I do wonder about he following warning:
CC arch/x86/kernel/hw_breakpoint.o
arch/x86/kernel/hw_breakpoint.c: In function ‘arch_validate_hwbkpt_settings’:
arch/x86/kernel/hw_breakpoint.c:360:20: warning: ‘align’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (info->address & align)
^
at a 32 bit Gentoo KVM. Why isn't "align" set to some value in the "default:" branch of the switch above -or- why there is a "default:" there if it can't be reached ?
--
Toralf, pgp: C4EACDDE 0076E94E
reply other threads:[~2016-01-26 19:29 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=56A7C920.2060706@gmx.de \
--to=toralf.foerster@gmx.de \
--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
Powered by JetHome