Re: [PATCH net] ionic: check port ptr before use

2020-11-05 Thread Jakub Kicinski
On Wed, 4 Nov 2020 11:56:06 -0800 Shannon Nelson wrote: > Check for corner case of port_init failure before using > the port_info pointer. > > Fixes: 4d03e00a2140 ("ionic: Add initial ethtool support") > Signed-off-by: Shannon Nelson Applied, thanks.

[PATCH net] ionic: check port ptr before use

2020-11-04 Thread Shannon Nelson
Check for corner case of port_init failure before using the port_info pointer. Fixes: 4d03e00a2140 ("ionic: Add initial ethtool support") Signed-off-by: Shannon Nelson --- drivers/net/ethernet/pensando/ionic/ionic_ethtool.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/net/eth