qlxgbe: avoid NULL deref in error case
Reported by: Dr Silvio Cesare of InfoSect MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
ec8416f76d
commit
7e0025dea2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351620
@ -793,7 +793,7 @@ ql_mbx_isr(void *arg)
|
||||
ha = arg;
|
||||
|
||||
if (ha == NULL) {
|
||||
device_printf(ha->pci_dev, "%s: arg == NULL\n", __func__);
|
||||
printf("%s: arg == NULL\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user