From: Kangjie Lu
Date: Sun, 10 Mar 2019 03:19:15 -0500
> + netif_info(lio, rx_err, lio->netdev,
> + "Failed to allocate octeon_soft_command\n");
When a function call straddles mutliple lines, the second and subsequent lines
containing argument must start p
In case octeon_alloc_soft_command fails, the fix reports the
error and returns to avoid NULL pointer dereference.
Signed-off-by: Kangjie Lu
---
drivers/net/ethernet/cavium/liquidio/lio_main.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/net/ethernet/cavium/liquidio/lio_main.c