mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
[SCSI] qla2xxx: use NULL instead of 0
Use NULL instead of 0 for pointers (sparse warning): drivers/scsi/qla2xxx/qla_attr.c:393:4: warning: Using plain integer as NULL pointer Signed-off-by: Randy Dunlap <[email protected]> Acked-by: Andrew Vasquez <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
0d2db302f9
commit
46ddab7b1c
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ static struct sysfs_entry {
|
|||
{ "optrom_ctl", &sysfs_optrom_ctl_attr, },
|
||||
{ "vpd", &sysfs_vpd_attr, 1 },
|
||||
{ "sfp", &sysfs_sfp_attr, 1 },
|
||||
{ 0 },
|
||||
{ NULL },
|
||||
};
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Reference in a new issue