diff options
author | Shay Agroskin <shayagr@amazon.com> | 2020-09-21 11:37:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-21 13:54:23 -0700 |
commit | f49ed500d60e6c86c27f0c8eb90df50b6489ccba (patch) | |
tree | a2d3756a90a250f703bafe69ea6b6de0b8677656 /Documentation/networking/device_drivers/ethernet/amazon/ena.rst | |
parent | 0deca83ff1118f305fc7fb11e5a4b13e876201e8 (diff) |
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 'Documentation/networking/device_drivers/ethernet/amazon/ena.rst')
0 files changed, 0 insertions, 0 deletions