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
This commit is contained in:
Vladislav Bolkhovitin
2011-02-14 23:28:45 +00:00
parent 87686b6fbc
commit 34ae7350ff

View File

@@ -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);