Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e706377 authored by Daeseok Youn's avatar Daeseok Youn Committed by James Bottomley
Browse files

[SCSI] lpfc: use NULL instead of 0 for pointer



sparse says:
drivers/scsi/lpfc/lpfc_sli.c:16547:37: warning:
 Using plain integer as NULL pointer

Signed-off-by: default avatarDaeseok Youn <daeseok.youn@gmail.com>
Acked-by: default avatarJames Smart <james.smart@emulex.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 15367540
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16773,7 +16773,7 @@ lpfc_drain_txq(struct lpfc_hba *phba)
{
	LIST_HEAD(completions);
	struct lpfc_sli_ring *pring = &phba->sli.ring[LPFC_ELS_RING];
	struct lpfc_iocbq *piocbq = 0;
	struct lpfc_iocbq *piocbq = NULL;
	unsigned long iflags = 0;
	char *fail_msg = NULL;
	struct lpfc_sglq *sglq;