]> git.baikalelectronics.ru Git - kernel.git/commit
ionic: fix unchecked reference
authorShannon Nelson <snelson@pensando.io>
Fri, 19 Mar 2021 00:48:06 +0000 (17:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Mar 2021 02:16:10 +0000 (19:16 -0700)
commit43c43ccd827f761936552cc0697371be711b21ce
tree0e1b2ee6499242983eade572f1236f3022600e9c
parentf425682727719d7954864616e8deda1542a22032
ionic: fix unchecked reference

We can get to the counter without going through the pointer
that the robot complained about.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Shannon Nelson <snelson@pensando.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/pensando/ionic/ionic_lif.c