diff options
author | Michael Brown | 2018-01-17 15:09:56 +0100 |
---|---|---|
committer | Michael Brown | 2018-01-17 15:09:56 +0100 |
commit | fbe8c52d0d9cdb3d6f5fe8be8edab54618becc1f (patch) | |
tree | 2436ea8cc1925755f79b3df7bd26a6da08e10b5c /src/drivers/usb/xhci.c | |
parent | [netdevice] Make netdev_irq_enabled() independent of netdev_irq_supported() (diff) | |
download | ipxe-fbe8c52d0d9cdb3d6f5fe8be8edab54618becc1f.tar.gz ipxe-fbe8c52d0d9cdb3d6f5fe8be8edab54618becc1f.tar.xz ipxe-fbe8c52d0d9cdb3d6f5fe8be8edab54618becc1f.zip |
[ena] Fix spurious uninitialised variable warning on older versions of gcc
Some older versions of gcc (observed with gcc 4.7.2) report a spurious
uninitialised variable warning in ena_get_device_attributes(). Work
around this warning by manually inlining the relevant code (which has
only a single call site).
Reported-by: xbgmsharp <xbgmsharp@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/usb/xhci.c')
0 files changed, 0 insertions, 0 deletions