]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] zfcp: Fix hexdump data in s390dbf traces
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Tue, 4 Nov 2008 15:35:12 +0000 (16:35 +0100)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Wed, 5 Nov 2008 17:47:55 +0000 (12:47 -0500)
commitd94ce6c6e99252ab2ba340b0398c8651713a9f05
tree54c351c4ddbbeaad2c1dba299dda511fa890aaba
parent7ea633ffad0bcb0b3e0deee81997d07f292e7f44
[SCSI] zfcp: Fix hexdump data in s390dbf traces

Fix multiple problems found in the hexdump data:
 - length calculation was wrong, traces were incomplete
 - FC payloads were dumped in different record than the output
   function tried to read
 - minor fixes in output
 - allow complete RSCN traces (up to 1024 bytes according to spec)

Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_dbf.c
drivers/s390/scsi/zfcp_dbf.h