Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a47c685 authored by Himanshu Madhani's avatar Himanshu Madhani Committed by Bart Van Assche
Browse files

qla2xxx: Set tcm_qla2xxx version to automatically track qla2xxx version

parent 1cbb9156
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
}

@@ -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);
+0 −1
Original line number Diff line number Diff line
#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
/*