summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-01-19 10:26:51 +0200
committerToomas Soome <tsoome@me.com>2019-04-10 09:30:58 +0300
commit87f90db88e11450dae14066aad4712c4798415c2 (patch)
tree5ae22af83c0d09525338dacea848aff0cd92a2bf
parentae6f9789e23baaa0d8a3f14c37c068824b33f5e6 (diff)
downloadillumos-joyent-87f90db88e11450dae14066aad4712c4798415c2.tar.gz
10671 bnxe: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth@skylime.net> Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/common/io/bnxe/bnxe_fcoe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/bnxe/bnxe_fcoe.c b/usr/src/uts/common/io/bnxe/bnxe_fcoe.c
index 08780cdec4..87a0c670ca 100644
--- a/usr/src/uts/common/io/bnxe/bnxe_fcoe.c
+++ b/usr/src/uts/common/io/bnxe/bnxe_fcoe.c
@@ -1351,7 +1351,7 @@ boolean_t BnxeFcoePrvPoll(dev_info_t * pDev)
if (pRxQ->inPollMode == B_FALSE)
{
BnxeLogWarn(pUM, "Polling on FCoE ring %d when NOT in poll mode!", idx);
- return NULL;
+ return B_FALSE;
}
pRxQ->pollCnt++;