From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 4/4] pci_rom: fix may be used uninitialized warning
Date: Wed, 17 Feb 2016 08:23:48 +0100 [thread overview]
Message-ID: <20160217082348.61cbb49d@crub> (raw)
In-Reply-To: <1455661771-52559-5-git-send-email-andreas.devel@googlemail.com>
On Tue, 16 Feb 2016 23:29:31 +0100
Andreas Bie?mann andreas.devel at googlemail.com wrote:
> Building pci_rom.c with my toolchain complains about may be used uninitialized
> rom varaible:
>
> ---8<---
> +drivers/pci/pci_rom.c:269:25: note: 'rom' was declared here
> w+drivers/pci/pci_rom.c: In function 'dm_pci_run_vga_bios':
> w+drivers/pci/pci_rom.c:154:14: warning: 'rom' may be used uninitialized in this function [-Wmaybe-uninitialized]
> --->8---
>
> Fix this as done in 55616b86c745fcac5a791268ab8e7cba36965c0f the ram variable.
>
> Signed-off-by: Andreas Bie?mann <andreas.devel@googlemail.com>
Acked-by: Anatolij Gustschin <agust@denx.de>
next prev parent reply other threads:[~2016-02-17 7:23 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-16 22:29 [U-Boot] [PATCH 0/4] Some things that bug me Andreas Bießmann
2016-02-16 22:29 ` [U-Boot] [PATCH 1/4] tools: -Wno-deprecated-declarations for OpenSSL on darwin Andreas Bießmann
2016-02-17 19:00 ` Simon Glass
2016-02-25 15:23 ` [U-Boot] [U-Boot, " Tom Rini
2016-02-16 22:29 ` [U-Boot] [PATCH 2/4] mxsboot: remove unused include Andreas Bießmann
2016-02-16 22:35 ` Marek Vasut
2016-02-17 8:42 ` Michael Heimpold
2016-02-21 10:10 ` Stefano Babic
2016-02-16 22:29 ` [U-Boot] [PATCH 3/4] samsung: fix mkorigenspl for darwin Andreas Bießmann
2016-02-25 15:24 ` [U-Boot] [U-Boot,3/4] " Tom Rini
2016-02-16 22:29 ` [U-Boot] [PATCH 4/4] pci_rom: fix may be used uninitialized warning Andreas Bießmann
2016-02-17 7:23 ` Anatolij Gustschin [this message]
2016-02-25 15:24 ` [U-Boot] [U-Boot, " Tom Rini
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=20160217082348.61cbb49d@crub \
--to=agust@denx.de \
--cc=u-boot@lists.denx.de \
/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