[ PATCH -logging 0/3] scsi/trace: Delete duplicated decoders

From: Yoshihiro YUNOMAE
Date: Mon Sep 01 2014 - 08:33:36 EST


Hi All,

This patchset deletes duplicated decoders in scsi_trace.c.
Almost decoders are implemented in constants.c, so we should use them.

This patchset deletes following decoders in scsi_trace.c:
- hostbyte in patch [2/3]
- driverbyte in patch [2/3]
- SCSI command in patch [3/3]

This patchset is based on Hannes' logging branch:
http://git.kernel.org/cgit/linux/kernel/git/hare/scsi-devel.git/log/?h=logging

Thanks,
Yoshihiro YUNOMAE

---

Yoshihiro YUNOMAE (3):
scsi/trace: Use macros for getting driver byte, host byte, msg byte, and status byte
scsi/trace: Delete duplicated decoders of hostbyte and driverbyte
scsi/trace: Delete a duplicated decoder of SCSI command


drivers/scsi/constants.c | 34 +++++---
include/scsi/scsi.h | 6 +
include/trace/events/scsi.h | 179 ++++++++++---------------------------------
3 files changed, 68 insertions(+), 151 deletions(-)

--
Yoshihiro YUNOMAE
Software Platform Research Dept. Linux Technology Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: yoshihiro.yunomae.ez@xxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/