Skip to content

Commit

Permalink
qla2xxx: Set tcm_qla2xxx version to automatically track qla2xxx version
Browse files Browse the repository at this point in the history
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Giridhar Malavali <giridhar.malavali@cavium.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com>
  • Loading branch information
Himanshu Madhani authored and Bart Van Assche committed Jan 17, 2017
1 parent 1cbb915 commit 2a47c68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions drivers/scsi/qla2xxx/tcm_qla2xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1800,7 +1800,7 @@ static ssize_t tcm_qla2xxx_wwn_version_show(struct config_item *item,
{
return sprintf(page,
"TCM QLOGIC QLA2XXX NPIV capable fabric module %s on %s/%s on "
UTS_RELEASE"\n", TCM_QLA2XXX_VERSION, utsname()->sysname,
UTS_RELEASE"\n", QLA2XXX_VERSION, utsname()->sysname,
utsname()->machine);
}

Expand Down Expand Up @@ -1906,7 +1906,7 @@ static int tcm_qla2xxx_register_configfs(void)
int ret;

pr_debug("TCM QLOGIC QLA2XXX fabric module %s on %s/%s on "
UTS_RELEASE"\n", TCM_QLA2XXX_VERSION, utsname()->sysname,
UTS_RELEASE"\n", QLA2XXX_VERSION, utsname()->sysname,
utsname()->machine);

ret = target_register_template(&tcm_qla2xxx_ops);
Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/qla2xxx/tcm_qla2xxx.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <target/target_core_base.h>
#include <linux/btree.h>

#define TCM_QLA2XXX_VERSION "v0.1"
/* length of ASCII WWPNs including pad */
#define TCM_QLA2XXX_NAMELEN 32
/*
Expand Down

0 comments on commit 2a47c68

Please sign in to comment.