From patchwork Mon Sep 17 15:01:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 10602853 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3BBF31508 for ; Mon, 17 Sep 2018 15:01:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DBC62A0BB for ; Mon, 17 Sep 2018 15:01:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21FCF2A04D; Mon, 17 Sep 2018 15:01:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12EA32A0A9 for ; Mon, 17 Sep 2018 15:01:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729181AbeIQU3I (ORCPT ); Mon, 17 Sep 2018 16:29:08 -0400 Received: from smtprelay0195.hostedemail.com ([216.40.44.195]:40973 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728016AbeIQU3H (ORCPT ); Mon, 17 Sep 2018 16:29:07 -0400 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay02.hostedemail.com (Postfix) with ESMTP id 5495681CC; Mon, 17 Sep 2018 15:01:23 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: bean02_45ce144452d0b X-Filterd-Recvd-Size: 2042 Received: from joe-laptop.perches.com (mb42736d0.tmodns.net [208.54.39.180]) (Authenticated sender: joe@perches.com) by omf13.hostedemail.com (Postfix) with ESMTPA; Mon, 17 Sep 2018 15:01:19 +0000 (UTC) From: Joe Perches To: MPT-FusionLinux.pdl@broadcom.com, linux-scsi@vger.kernel.org Cc: Sathya Prakash , Chaitra P B , Suganath Prabu Subramani , "James E.J. Bottomley" , "Martin K. Petersen" , linux-kernel@vger.kernel.org Subject: [PATCH 0/7] Neaten logging uses Date: Mon, 17 Sep 2018 08:01:07 -0700 Message-Id: X-Mailer: git-send-email 2.15.0 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Several defects exist in the logging uses o Missing KERN_ o Unnecessary KERN_ uses with panic o Mismatched MPT3SAS_FMT and %s: with name and __func__ Correct these defects and perhaps add some clarity to the logging. Joe Perches (7): mpt3sas: Add ioc_ logging macros mpt3sas: Convert uses of pr_ with MPT3SAS_FMT to ioc_ mpt3sas: Convert mlsleading uses of pr_ with MPT3SAS_FMT mpt3sas: Convert logging uses with MPT3SAS_FMT and reply_q_name to %s: mpt3sas: Remove KERN_WARNING from panic uses mpt3sas: Convert logging uses with MPT3SAS_FMT without logging levels mpt3sas: Remove unused macro MPT3SAS_FMT drivers/scsi/mpt3sas/mpt3sas_base.c | 1116 +++++++++----------- drivers/scsi/mpt3sas/mpt3sas_base.h | 9 +- drivers/scsi/mpt3sas/mpt3sas_config.c | 89 +- drivers/scsi/mpt3sas/mpt3sas_ctl.c | 493 ++++----- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 1487 ++++++++++++--------------- drivers/scsi/mpt3sas/mpt3sas_transport.c | 337 +++--- drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c | 101 +- drivers/scsi/mpt3sas/mpt3sas_warpdrive.c | 70 +- 8 files changed, 1618 insertions(+), 2084 deletions(-)