From 34ae7350ff0e391e4cc0da8560492f6595fe0edd Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Mon, 14 Feb 2011 23:28:45 +0000 Subject: [PATCH] Previous commit was wrong. Here is the correct version of the cleanup. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@3251 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla_attr.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/qla2x00t/qla_attr.c b/qla2x00t/qla_attr.c index efb3fedd9..92d1736ef 100644 --- a/qla2x00t/qla_attr.c +++ b/qla2x00t/qla_attr.c @@ -418,16 +418,16 @@ next: gid = (struct gid_list_info *)id_iter; if (IS_QLA2100(ha) || IS_QLA2200(ha)) { size += scnprintf(buffer+size, max_size-size, - "%04x %02x%02x%02x %02x\n", - le16_to_cpu(gid->loop_id), + "%02x %02x%02x%02x\n", + gid->loop_id_2100, gid->domain, gid->area, - gid->al_pa, - gid->loop_id_2100); + gid->al_pa); + } else { size += scnprintf(buffer+size, max_size-size, - "%02x %02x%02x%02x\n", - gid->loop_id_2100, + "%04x %02x%02x%02x\n", + le16_to_cpu(gid->loop_id), gid->domain, gid->area, gid->al_pa);