mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-03 15:55:38 +00: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:
parent
74acec655f
commit
2c7fb46902
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue