summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorShay Agroskin <shayagr@amazon.com>2020-09-21 11:37:41 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-21 13:54:23 -0700
commitf49ed500d60e6c86c27f0c8eb90df50b6489ccba (patch)
treea2d3756a90a250f703bafe69ea6b6de0b8677656 /scripts/checkpatch.pl
parent0deca83ff1118f305fc7fb11e5a4b13e876201e8 (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 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions