scsi: qla2xxx: Removed extra space in variable declaration.
Subsystems (3)
PATCH 1/1 scsi: qla2xxx: Removed extra space in variable declaration.
Signed-off-by Milan P. Gandhi <[email protected]>
---
drivers/scsi/qla2xxx/qla_attr.c +1 -1
@@ -226,7 +226,7 @@ qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj,struct scsi_qla_host *vha =shost_priv (dev_to_shost (container_of (kobj, struct device, kobj)));struct qla_hw_data *ha = vha->hw; -uint16_t cnt; +uint16_t cnt;if (!capable (CAP_SYS_ADMIN ) || off !=0 || count != ha->nvram_size || !ha->isp_ops->write_nvram)
Apologies for missing a note about change. Will correct it now and send updated version.
Quoted 16 lines · Milan P. Gandhi
Signed-off-by Milan P. Gandhi <[email protected]>---
drivers/scsi/qla2xxx/qla_attr.c +1
-1@@ -226,7 +226,7 @@ qla2x00_sysfs_write_nvram(struct file *filp, struct kobject *kobj,struct scsi_qla_host *vha =shost_priv (dev_to_shost (container_of (kobj, struct device, kobj)));struct qla_hw_data *ha = vha->hw; -uint16_t cnt; +uint16_t cnt;if (!capable (CAP_SYS_ADMIN ) || off !=0 || count != ha->nvram_size || !ha->isp_ops->write_nvram)