Skip to contentSkip to conversation

scsi_sysfs: use NULL instead of 0

PATCH New Randy.Dunlap 1 participant 1 message Mar 28, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi_sysfs: use NULL instead of 0

drivers/scsi/scsi_sysfs.c:814:66: warning: Using plain integer as NULL pointer

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
diff -Naurp ./drivers/scsi/scsi_sysfs.c~scsi_sysfs_null ./drivers/scsi/scsi_sysfs.c
@@ -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, }, }, }, };

---