diff options
author | Shannon Nelson <snelson@pensando.io> | 2020-11-04 11:56:06 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-05 09:58:25 -0800 |
commit | 2bcbf42add911ef63a6d90e92001dc2bcb053e68 (patch) | |
tree | 27da9b75a49f5073e712ec5e63484147759bb1ec /include | |
parent | 2aaf09a0e7842b3ac7be6e0b8fb1888b3daeb3b3 (diff) |
ionic: check port ptr before use
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 <snelson@pensando.io>
Link: https://lore.kernel.org/r/20201104195606.61184-1-snelson@pensando.io
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions