scsi_sysfs: use NULL instead of 0
PATCH 1/1 scsi_sysfs: use NULL instead of 0
drivers/scsi/scsi_sysfs.c:814:66: warning: Using plain integer as NULL pointer
Signed-off-by Randy Dunlap <[email protected]>
diffstat:=
drivers/scsi/scsi_sysfs.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/scsi_sysfs.c renamed from drivers/scsi/scsi_sysfs.c~scsi_sysfs_null +1 -1
@@ -811,4 +811,4 @@ EXPORT_SYMBOL(scsi_is_sdev_device);/* A blank transport template that is used in drivers that don't * yet implement Transport Attributes */ -struct scsi_transport_template blank_transport_template = { { { {0 , }, }, }, }; +struct scsi_transport_template blank_transport_template = { { { {NULL , }, }, }, };
---