commit | d143ddb96d6c5857ca0db113fb874a404424456a | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Wed Feb 17 23:14:47 2016 -0800 |
committer | Simon Glass <sjg@chromium.org> | Fri Feb 26 08:53:10 2016 -0700 |
tree | 2d50f4f7282f6752963ca6874f999db153f63e46 | |
parent | 3142b5fafb28fb27ac2064db28881f6f72ffa15a [diff] |
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>