From: Hannes Reinecke Subject: [PATCH 0/6] First batch of logging cleanups Date: Tue, 3 Jun 2014 13:22:51 +0200 Message-ID: <1401794577-102277-1-git-send-email-hare@suse.de> Return-path: Received: from cantor2.suse.de ([195.135.220.15]:38541 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753227AbaFCLXA (ORCPT ); Tue, 3 Jun 2014 07:23:00 -0400 Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: James Bottomley Cc: Christoph Hellwig , linux-scsi@vger.kernel.org, Hannes Reinecke Hi all, this is the first patch of my SCSI logging cleanup. The basic idea here is to use dev_printk() and friends throughout the midlayer, so that any logging messages are attached with the correct device information. Hannes Reinecke (6): scsi: Implement sr_printk() scsi: Implement sg_printk() scsi: Implement ch_printk() scsi: Implement st_printk() scsi: use dev_printk() variants for ioctl scsi: use dev_printk variants where possible drivers/scsi/ch.c | 14 +- drivers/scsi/hosts.c | 15 +- drivers/scsi/scsi.c | 18 +- drivers/scsi/scsi_error.c | 179 +++++++------- drivers/scsi/scsi_ioctl.c | 17 +- drivers/scsi/scsi_lib.c | 22 +- drivers/scsi/scsi_scan.c | 76 +++--- drivers/scsi/sg.c | 189 +++++++++------ drivers/scsi/sr.c | 61 ++--- drivers/scsi/sr.h | 4 + drivers/scsi/sr_ioctl.c | 26 +- drivers/scsi/sr_vendor.c | 36 +-- drivers/scsi/st.c | 605 ++++++++++++++++++++++++---------------------- 13 files changed, 674 insertions(+), 588 deletions(-) -- 1.7.12.4