diff options
author | 2020-09-21 11:37:41 +0300 | |
---|---|---|
committer | 2020-09-21 13:54:23 -0700 | |
commit | f49ed500d60e6c86c27f0c8eb90df50b6489ccba (patch) | |
tree | a2d3756a90a250f703bafe69ea6b6de0b8677656 /net/unix/af_unix.c | |
parent | net: ena: Change RSS related macros and variables names (diff) | |
download | wireguard-linux-f49ed500d60e6c86c27f0c8eb90df50b6489ccba.tar.xz wireguard-linux-f49ed500d60e6c86c27f0c8eb90df50b6489ccba.zip |
net: ena: Fix all static chekers' warnings
After running Sparse checker on the driver using
make C=1 M=drivers/net/ethernet/amazon/ena
the only error that is thrown is:
sparse: sparse: Using plain integer as NULL pointer
about the line
struct ena_calc_queue_size_ctx calc_queue_ctx = { 0 };
This patch fixes this warning, thus making our driver free (for now) of
Sparse errors/warnings.
To make a more complete work, this patch also fixes all static warnings
that were found using an internal static checker.
Signed-off-by: Ido Segev <idose@amazon.com>
Signed-off-by: Shay Agroskin <shayagr@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions