diff options
author | 2021-04-22 17:35:33 +0200 | |
---|---|---|
committer | 2021-04-22 13:27:36 -0700 | |
commit | 3197a98c7081a1c3db6ef63fece55d7f66c79bdc (patch) | |
tree | 019bd0b886daa37e0f1d148fbc6729d6416eb123 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: wwan: core: Return poll error in case of port removal (diff) | |
download | wireguard-linux-3197a98c7081a1c3db6ef63fece55d7f66c79bdc.tar.xz wireguard-linux-3197a98c7081a1c3db6ef63fece55d7f66c79bdc.zip |
vxge: avoid -Wemtpy-body warnings
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions