mirror of https://gitee.com/openkylin/linux.git
1f1120a542
On the case where nn->eth_port is null the warning message
is printing the port by dereferencing this null pointer.
Remove the deference to avoid a crash when printing the
warning message.
Detected by CoverityScan, CID#1426198 ("Dereference after null check")
Fixes:
|
||
---|---|---|
.. | ||
nfp | ||
Kconfig | ||
Makefile |