Message ID | 20170523131931.1777-8-chad.dupuis@cavium.com (mailing list archive) |
---|---|
State | Changes Requested, archived |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 30E8F6032C for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 23 May 2017 13:20:03 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CD01287D7 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 23 May 2017 13:20:03 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E545287DA; Tue, 23 May 2017 13:20:03 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 E5BC1287D7 for <patchwork-linux-scsi@patchwork.kernel.org>; Tue, 23 May 2017 13:20:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937126AbdEWNT7 (ORCPT <rfc822;patchwork-linux-scsi@patchwork.kernel.org>); Tue, 23 May 2017 09:19:59 -0400 Received: from mail-sn1nam02on0088.outbound.protection.outlook.com ([104.47.36.88]:31312 "EHLO NAM02-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S935923AbdEWNTs (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Tue, 23 May 2017 09:19:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=4SclhKvNYptKyQKdxJktPVoznmJz5BmBa2DT6SYE4zU=; b=Jgp71lIqYheUxJB3NY67jyvGeYkhwLIUFcokkTS8DkQUq8zdjgwKWyYWnqLyFexXp31cJgihDrstvCJbGzwB7wVcVp9yZO0BTx/g1OqJrcIwlnDd7ujTCRe/cWUBRJC7eKrj/Kg5jhTnisLtwHDKINPshrE20F63OWgO5avK8yc= Received: from BN6PR07CA0022.namprd07.prod.outlook.com (2603:10b6:404:3a::32) by DM2PR07MB431.namprd07.prod.outlook.com (2a01:111:e400:243a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1101.14; Tue, 23 May 2017 13:19:46 +0000 Received: from BN1AFFO11FD012.protection.gbl (2a01:111:f400:7c10::136) by BN6PR07CA0022.outlook.office365.com (2603:10b6:404:3a::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1124.9 via Frontend Transport; Tue, 23 May 2017 13:19:46 +0000 Authentication-Results: spf=none (sender IP is 50.232.66.26) smtp.mailfrom=cavium.com; oracle.com; dkim=none (message not signed) header.d=none; oracle.com; dmarc=none action=none header.from=cavium.com; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) Received: from CAEXCH02.caveonetworks.com (50.232.66.26) by BN1AFFO11FD012.mail.protection.outlook.com (10.58.52.72) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384) id 15.1.1075.5 via Frontend Transport; Tue, 23 May 2017 13:19:45 +0000 Received: from dut1171.mv.qlogic.com (172.29.51.171) by CAEXCH02.caveonetworks.com (10.17.4.29) with Microsoft SMTP Server id 14.2.347.0; Tue, 23 May 2017 06:19:32 -0700 Received: from dut1171.mv.qlogic.com (localhost [127.0.0.1]) by dut1171.mv.qlogic.com (8.14.7/8.14.7) with ESMTP id v4NDJXUX001840; Tue, 23 May 2017 06:19:33 -0700 Received: (from root@localhost) by dut1171.mv.qlogic.com (8.14.7/8.14.7/Submit) id v4NDJXV3001839; Tue, 23 May 2017 06:19:33 -0700 From: "Dupuis, Chad" <chad.dupuis@cavium.com> To: <martin.petersen@oracle.com> CC: <linux-scsi@vger.kernel.org>, <james.bottomley@hansenpartnership.com>, <QLogic-Storage-Upstream@cavium.com> Subject: [PATCH 07/15] qedf: Set qed logging level to QED_LEVEL_NOTICE. Date: Tue, 23 May 2017 06:19:23 -0700 Message-ID: <20170523131931.1777-8-chad.dupuis@cavium.com> X-Mailer: git-send-email 2.12.0 In-Reply-To: <20170523131931.1777-1-chad.dupuis@cavium.com> References: <20170523131931.1777-1-chad.dupuis@cavium.com> MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:50.232.66.26; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(39840400002)(39450400003)(39850400002)(39400400002)(39410400002)(2980300002)(428002)(189002)(199003)(9170700003)(356003)(101416001)(2950100002)(6916009)(86362001)(6666003)(50466002)(76176999)(50986999)(189998001)(36756003)(80596001)(2351001)(5003940100001)(105586002)(5660300001)(4326008)(106466001)(8676002)(81166006)(50226002)(8936002)(72206003)(478600001)(33646002)(2906002)(305945005)(48376002)(54906002)(42186005)(47776003)(107886003)(110136004)(38730400002)(1076002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR07MB431; H:CAEXCH02.caveonetworks.com; FPR:; SPF:None; MLV:sfv; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD012; 1:XUrcom89YlLjS4vnfAqlLZ9lbGXFG17EsowTZCpPavIqx5Wldygffvr6U6VM63yHQ41gRyAgAO7vLGHSYYg8BOCUeAj+eB+PJm/fjwQ4wW95PMBYYzzihocbHM41BXGREcjHMrd7k8XVM5f4reUeFFSOtPeulQ66K/WQo0J5uz22pMP4OQPFemWh/nCtiBWJT3o+YXv/qB2a3RfjZHTb87oQCa9QF01Dr97jKTtE+ze9ovSnST9IvTj+2wsTiMvDUHlpX3uZAH6f0GkH5ioOHcm3touJ08Q1dyXK1rQbTGada0fgvr2/SAvMiSyhLvWdzJNFvdhgWbRlHX7w5bJi4x+cp45JC0BHEigWTfqbnGvaICpv2qQL0GZQXnaKVTCnrwi+aTg+4sYuhonSl7mwVY3Sp8I+ERbeRmc7SN79F2OPlxKRtBN0mrfuFCMvStrgCPLNDwtNvTDpmfFJugd+VbA4ZdUvMDxCDoIq4CYm034QBsByrC21Y9CsLblfzahIzVLKImUmkIk2GSrCYmQVgA== X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM2PR07MB431: X-MS-Office365-Filtering-Correlation-Id: 6213e03b-06be-4108-b361-08d4a1de61dd X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254075)(201703131423075)(201703031133081)(201702281549075); SRVR:DM2PR07MB431; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB431; 3:xd50/5Z5O/Qmc/CTz/45JkfCT8ER5/5rRxGU6NWelpwusp4jbalAsNjTQno5M1RfnWrKlZ+igIWylZoU1ng+VY5JGWOMp3d04NTjimXgmifmw8DXhMkT1IBZP3mNlF/o+NyN/6AXUnKE0fEOSUrWTR2NNYSn4C7fI50+5+Ka+EFdEP2FHG4EPj/ka9ewyjVMvTuhBcbjCxo90EGNl54nIxs1bTGPWlX/KgsTx22ZpXyVZCXhGB+HaoTF64/v47tf5dfQpX8bRrmaZSdFw/700cKgYiA4i7vb6gAeoWGXqtOHZJseaytEtYlkNTju2jdgC+YFTHaVexcnpd+pR+/wiONMfiJjRpirMbrRx73GckirhYhcM+5epHfcH2uO45NTfmmUsn52oKyBRFTElf8uwP3hwdN39I62hbRoNZn8OepEsNgcP4DN/JuUwCYtWr0agtxYTI+Yn6D/nFZ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8AVx1facxgb8FYUxnNcVaEYEou9xyAg1ZF6QzwEGXswbAwTyZIgPpoYmDRGT3jomCX5DI412JaU8hUh0UnDON2APNdf7CKX0ainwBsFbfIKH9x/WCxVSfutnE7T7r9Y5hJicivHfHP5ENa+gUnj5A3JPh7JtNMxvQVnHmxgcJTamlEMW0kdhiFZsbAW/oSs1MNdLPVcQ69LMLDieQRRZIwZoWaMklL4Rs/PhFtvgIXHORm6X/dEp0NkNoz6vDr00R+8s7NMI9Jo1AnUvJvB4c5GR1Q8JZ7/eS3t07+tJ5Vpk96n5IOc9ogDwQIVgpu0CdTfgHiJgJb04EV4wiTRR X-Microsoft-Antispam-PRVS: <DM2PR07MB4316B679E9766FF467DA7A99EF90@DM2PR07MB431.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(5005006)(13015025)(13017025)(13024025)(13023025)(8121501046)(13018025)(3002001)(93006095)(93001095)(10201501046)(6041248)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(20161123558100)(20161123560025)(6072148); SRVR:DM2PR07MB431; BCL:0; PCL:0; RULEID:; SRVR:DM2PR07MB431; X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB431; 4:MoxerAieH3wNmCZxgQYgMmK+nDY0HzSeIqFKch721+qxxGUPUAn1diXIuBRTNt3G0YaViOPeC0g8g3K6GqFbs+FA9DNTyJgeb18sfYogzQ7EbY6Ot/ulH/bh586h1SzARDKtd5P//Ry7hACP3TPiJGKKg4VTKbARHp+5iYIzAmF+ILaSSa0jF88zj4CMbjyP4OCkGBB02SzQNUxuZoSSN9DwlNJv6oJfnakJNbsQ1A0Xteyq6WRuyegf2ewy1qiTNRQVhF0jtthvlsq+jXbk1YUdJdr2JS4u79txJGGc5CNdGueZlcr3vCnaBjVTHvWqvIV/XjttaIQKhaHtnKddu8gMj2eA/Ilt6fF8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KL1loM4fc1R0PZrQ4?= =?us-ascii?Q?eF7hO6wE5TOaDH/9Q/um82SalO6FrJq0dNDIcQahjL+HBDX9RBxZSeYkZCsF?= =?us-ascii?Q?/d9GjlrRklKie6Ts5mNA+W2oZiYYTtM5T4sozFzAoZMVij8yTCDlYZQd9skS?= =?us-ascii?Q?5xjpl4W27W6v/BCGhw40s1Ccci+8FOEaJS39XhRYzMlmcoNCvDhJO4IzmL4Z?= =?us-ascii?Q?OpedJ2JvK+C81ERgIdpCoRuYUq+cgIOoF8htiY3TV52+Wcc0C9Z0VE7NXbrU?= =?us-ascii?Q?LEJEU7oZdXFyV7MT+af23KyRuqmBcpSxktdxmmvhh9sd/TDSvm0l4BTH4T6p?= =?us-ascii?Q?iuhG/VqqvCjLJ9vD6j3CAh7LVZRjtCj2039qGDadfCYcPy2GMvbWjChi5F0g?= =?us-ascii?Q?SpIFKXdc/aFteSazf9ZuUYQklzT4MzUJVycqg42wJYerMcHCzvPbBNHtjSms?= =?us-ascii?Q?KgiMhv/Mg7fqhwYudifx9cFIu5oj080WqlNEycHcAUzihyaI1i/BAf59CU1q?= =?us-ascii?Q?IfKD0l3iIoTl4lm7kK44gM2cbXsmXEYvNpKTiulJQBYoIdLZHKQH60Dahu9p?= =?us-ascii?Q?YrTqS+6AYNatKnDCd3BCHcn/f/dtTBMuPztGj6qXWzVLE59PRLoD7rW3NLQ9?= =?us-ascii?Q?qtP0U6zbd3uw9UPuIrRbIHxcYroM+kAwTfR9R7VSIwwxM1Tt58XL26FRF655?= =?us-ascii?Q?cvo4PmULswkCLiQ+X0Sr5pfXFgGP8qDeu6t682jU3I2OsN9s1Nw8PO90duSc?= =?us-ascii?Q?eKX0KwScWMfIn807qOg3IILgQjP86b?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR07MB431; 6:cxfpP9/BaqbY/nh8d81U/Vfg/Jy4Xh8TzrzBjZ9cdLePGACrTpr/DG9ppR4OflcX8daNjlkeg41ckPddKtG1+XRVKYqTvVtxrih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jbIWWxsnid5sn1sJAPNfA7YdPlRXjkGUKoK+s5jIyzO3c7QOCwsDSL9ngw== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2017 13:19:45.9537 (UTC) X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=711e4ccf-2e9b-4bcf-a551-4094005b6194; Ip=[50.232.66.26]; Helo=[CAEXCH02.caveonetworks.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR07MB431 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
On Tue, 2017-05-23 at 06:19 -0700, Dupuis, Chad wrote: > Reduce the logging level we set for qed messages pertaining to this PCI > function so that unnecessary messages are not printed in the kernel > message log. Reviewed-by: Bart Van Assche <Bart.VanAssche@sandisk.com>
diff --git a/drivers/scsi/qedf/qedf_main.c b/drivers/scsi/qedf/qedf_main.c index f703801..d6049cd 100644 --- a/drivers/scsi/qedf/qedf_main.c +++ b/drivers/scsi/qedf/qedf_main.c @@ -95,7 +95,7 @@ MODULE_PARM_DESC(dp_module, " bit flags control for verbose printk passed " "qed module during probe."); -static uint qedf_dp_level; +static uint qedf_dp_level = QED_LEVEL_NOTICE; module_param_named(dp_level, qedf_dp_level, uint, S_IRUGO); MODULE_PARM_DESC(dp_level, " printk verbosity control passed to qed module " "during probe (0-3: 0 more verbose).");
Reduce the logging level we set for qed messages pertaining to this PCI function so that unnecessary messages are not printed in the kernel message log. Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com> --- drivers/scsi/qedf/qedf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)