diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-02-17 23:14:47 -0800 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2016-02-26 08:53:10 -0700 |
commit | 6796704b0dfb4f98cb4a026988e9739884812b5c (patch) | |
tree | 2d50f4f7282f6752963ca6874f999db153f63e46 /test/command_ut.c | |
parent | f8025b58f834c1f25e60b9f4c8e7719cb228a5a1 (diff) | |
download | talos-obmc-uboot-6796704b0dfb4f98cb4a026988e9739884812b5c.tar.gz talos-obmc-uboot-6796704b0dfb4f98cb4a026988e9739884812b5c.zip |
pci: Fix compiler warnings in dm_pciauto_setup_device()
Fix the following compiler warnings when DEBUG is on.
warning: 'bar_res' may be used uninitialized in this function.
drivers/pci/pci_auto.c:101:21:
if (!enum_only && pciauto_region_allocate(bar_res, bar_size,
^
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'test/command_ut.c')
0 files changed, 0 insertions, 0 deletions