mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-04 15:26:45 +00:00
There are a few warnings about empty debug macros in this driver:
drivers/net/ethernet/neterion/vxge/vxge-main.c: In function 'vxge_probe':
drivers/net/ethernet/neterion/vxge/vxge-main.c:4480:76: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
4480 | "Failed in enabling SRIOV mode: %d\n", ret);
Change them to proper 'do { } while (0)' expressions to make the
code a little more robust and avoid the warnings.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| vxge-config.c | ||
| vxge-config.h | ||
| vxge-ethtool.c | ||
| vxge-ethtool.h | ||
| vxge-main.c | ||
| vxge-main.h | ||
| vxge-reg.h | ||
| vxge-traffic.c | ||
| vxge-traffic.h | ||
| vxge-version.h | ||