Commit 28e02f1a authored by Vikas Chaudhary's avatar Vikas Chaudhary Committed by James Bottomley

[SCSI] qla4xxx: Fix sparse warning for qla4xxx_sysfs_ddb_tgt_create

Fix following warning:
drivers/scsi/qla4xxx/ql4_os.c:5507:5:
warning: symbol 'qla4xxx_sysfs_ddb_tgt_create' was not declared. Should it be
static?
Signed-off-by: default avatarVikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent b6130cea
...@@ -5504,7 +5504,7 @@ static int qla4xxx_sysfs_ddb_is_non_persistent(struct device *dev, void *data) ...@@ -5504,7 +5504,7 @@ static int qla4xxx_sysfs_ddb_is_non_persistent(struct device *dev, void *data)
* If this is invoked as a result of a userspace call then the entry is marked * If this is invoked as a result of a userspace call then the entry is marked
* as nonpersistent using flash_state field. * as nonpersistent using flash_state field.
**/ **/
int qla4xxx_sysfs_ddb_tgt_create(struct scsi_qla_host *ha, static int qla4xxx_sysfs_ddb_tgt_create(struct scsi_qla_host *ha,
struct dev_db_entry *fw_ddb_entry, struct dev_db_entry *fw_ddb_entry,
uint16_t *idx, int user) uint16_t *idx, int user)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment