summaryrefslogtreecommitdiff
path: root/arch/sh
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-01-16 14:50:26 +0000
committerTom Rini <trini@konsulko.com>2016-01-19 08:31:21 -0500
commit55616b86c745fcac5a791268ab8e7cba36965c0f (patch)
tree82cad4821caf1c86cc5a25128cb8daaf866b4d81 /arch/sh
parent5b8031ccb4ed6e84457d883198d77efc307085dc (diff)
downloadu-boot-imx-55616b86c745fcac5a791268ab8e7cba36965c0f.zip
u-boot-imx-55616b86c745fcac5a791268ab8e7cba36965c0f.tar.gz
u-boot-imx-55616b86c745fcac5a791268ab8e7cba36965c0f.tar.bz2
pci_rom.c: Fix may be used uninitialized warning
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 <trini@konsulko.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/sh')
0 files changed, 0 insertions, 0 deletions