On Mon, 2015-04-13 at 19:47 +0200, Christoph Hellwig wrote: > We need two different names for the two templates, otherwise registration > will fail. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> > --- > drivers/scsi/qla2xxx/tcm_qla2xxx.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c > index 1bd3653..acf54cd 100644 > --- a/drivers/scsi/qla2xxx/tcm_qla2xxx.c > +++ b/drivers/scsi/qla2xxx/tcm_qla2xxx.c > @@ -2046,7 +2046,7 @@ static const struct target_core_fabric_ops tcm_qla2xxx_ops = { > > static const struct target_core_fabric_ops tcm_qla2xxx_npiv_ops = { > .module = THIS_MODULE, > - .name = "qla2xxx", > + .name = "qla2xxx_npiv", > .get_fabric_name = tcm_qla2xxx_npiv_get_fabric_name, > .get_fabric_proto_ident = tcm_qla2xxx_get_fabric_proto_ident, > .tpg_get_wwn = tcm_qla2xxx_get_fabric_wwn, Thanks, squashed into the original commit. --nab -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html