mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 10:11:52 -04:00
scsi: lpfc: lpfc_attr: Fix Use plain integer as NULL pointer
Replace assignment of 0 to pointer with NULL assignment. Link: https://lore.kernel.org/r/20191024025726.GA31421@saurav Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Acked-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
committed by
Martin K. Petersen
parent
74acec655f
commit
2c7fb46902
@@ -1644,7 +1644,7 @@ lpfc_set_trunking(struct lpfc_hba *phba, char *buff_out)
|
||||
{
|
||||
LPFC_MBOXQ_t *mbox = NULL;
|
||||
unsigned long val = 0;
|
||||
char *pval = 0;
|
||||
char *pval = NULL;
|
||||
int rc = 0;
|
||||
|
||||
if (!strncmp("enable", buff_out,
|
||||
|
||||
Reference in New Issue
Block a user