]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: zfcp: clarify function argument name for trace tag string
authorSteffen Maier <maier@linux.ibm.com>
Thu, 8 Nov 2018 14:44:49 +0000 (15:44 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 15 Nov 2018 20:01:18 +0000 (15:01 -0500)
commit346d3ab5c51e7d0a0dfc3b70dce0711d8ed00e06
tree500ed741d72a27aa30a300ad8b4a0562d266d33c
parentf1f292b1eb1e93aca298f086cf8e7b87874c1f19
scsi: zfcp: clarify function argument name for trace tag string

v2.6.30 commit a211d4f5bc85 ("[SCSI] zfcp: replace current ERP logging with
a more convenient version") changed trace record distinguishing from a
numerical ID to a 7 character string called "trace tag". While starting to
use function arguments with different type and semantics, it did not change
the argument name accordingly.

v2.6.38 commit 953717b00440 ("[SCSI] zfcp: Redesign of the debug tracing
for recovery actions.") renamed variable names "id" into "tag" but only
within zfcp_dbf.*, not within zfcp_erp.c.

This was a bit confusing since the remainder of zfcp does use the term
"trace tag". Also "id" is quite generic and it's not obvious for what.
Just unify it consistently and use the "dbf" prefix to relate the arguments
to the code in zfcp_dbf.*.

Signed-off-by: Steffen Maier <maier@linux.ibm.com>
Reviewed-by: Benjamin Block <bblock@linux.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/s390/scsi/zfcp_erp.c
drivers/s390/scsi/zfcp_ext.h
drivers/s390/scsi/zfcp_qdio.c