Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753316AbbFAPkH (ORCPT ); Mon, 1 Jun 2015 11:40:07 -0400 Received: from mail-ig0-f174.google.com ([209.85.213.174]:35157 "EHLO mail-ig0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751783AbbFAPj6 (ORCPT ); Mon, 1 Jun 2015 11:39:58 -0400 Subject: [PATCH v2 0/3] megaraid: use dev_printk() when possible To: Kashyap Desai , Uday Lingala , Sumit Saxena From: Bjorn Helgaas Cc: megaraidlinux.pdl@avagotech.com, "James E.J. Bottomley" , Christoph Hellwig , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Date: Mon, 01 Jun 2015 10:39:56 -0500 Message-ID: <20150601153240.23309.73917.stgit@bhelgaas-glaptop2.roam.corp.google.com> User-Agent: StGit/0.16 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1380 Lines: 33 The current megaraid driver messages are somewhat inconsistent, with different combinations of driver name and device address: megasas: 0x1000:0x005b:0x15d9:0x0690: bus 1:slot 0:func 0 megaraid_sas 0000:01:00.0: megasas: FW restarted successfully from megasas_init_fw! megasas: Waiting for FW to come to ready state These patches use dev_printk() to include the driver name and device address in the conventional format. Changes between v1 and v2: - Rebase to next-20150601 - Squash megaraid_sas_base.c and megaraid_sas_fusion.c changes into one patch - Split megasas_dump_pending_frames() run-on printks into one line each - Add patch to fix whitespace errors in megasas_dump_pending_frames() --- Bjorn Helgaas (3): megaraid : use dev_printk when possible megaraid_sas : use dev_printk when possible megaraid_sas : fix whitespace errors drivers/scsi/megaraid.c | 92 ++++----- drivers/scsi/megaraid/megaraid_sas_base.c | 287 +++++++++++++-------------- drivers/scsi/megaraid/megaraid_sas_fusion.c | 92 ++++----- 3 files changed, 231 insertions(+), 240 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/