From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753644AbaIAMdd (ORCPT ); Mon, 1 Sep 2014 08:33:33 -0400 Received: from mail4.hitachi.co.jp ([133.145.228.5]:40162 "EHLO mail4.hitachi.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753576AbaIAMda (ORCPT ); Mon, 1 Sep 2014 08:33:30 -0400 X-AuditID: 85900ec0-d312bb9000001514-58-54046796ac6d Subject: [ PATCH -logging 0/3] scsi/trace: Delete duplicated decoders From: Yoshihiro YUNOMAE To: Hannes Reinecke Cc: linux-scsi@vger.kernel.org, "Martin K. Petersen" , Masami Hiramatsu , yrl.pp-manager.tt@hitachi.com, linux-kernel@vger.kernel.org, "Ewan D. Milne" , Hidehiro Kawai , "James E.J. Bottomley" , Doug Gilbert , Robert Elliott , Christoph Hellwig Date: Mon, 01 Sep 2014 12:33:25 +0000 Message-ID: <20140901123325.597.47231.stgit@yuno-kbuild.novalocal> User-Agent: StGit/0.17-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@hitachi.com