From: Daeseok Youn Date: Fri, 21 Feb 2014 00:03:32 +0000 (+0900) Subject: [SCSI] lpfc: use NULL instead of 0 for pointer X-Git-Tag: v5.15~18194^2~147 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e7063770ecf7d0d17a59eeb476107a4b608003a;p=platform%2Fkernel%2Flinux-starfive.git [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: Daeseok Youn Acked-by: James Smart Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index db2100d..6bb51f8e 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c @@ -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;