On Sat, Jan 16, 2016 at 02:50:26PM +0000, Tom Rini wrote:

> With gcc-5.x we get:
> drivers/pci/pci_rom.c: In function 'dm_pci_run_vga_bios':
> drivers/pci/pci_rom.c:352:3: warning: 'ram' may be used uninitialized in
> this function [-Wmaybe-uninitialized]
> 
> While unconvinced that this can happen in practice (if we malloc we set
> alloced to true, it will be false otherwise), silence the compiler.
> 
> Signed-off-by: Tom Rini <tr...@konsulko.com>
> Reviewed-by: Bin Meng <bmeng...@gmail.com>
> Reviewed-by: Simon Glass <s...@chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: Digital signature

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to