From patchwork Thu May 10 15:45:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joe Perches X-Patchwork-Id: 10392023 Return-Path: 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 C4D476053D for ; Thu, 10 May 2018 15:55:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B6F3E28793 for ; Thu, 10 May 2018 15:55:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id AB94528B8A; Thu, 10 May 2018 15:55:00 +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=unavailable 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 0070A28793 for ; Thu, 10 May 2018 15:54:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966396AbeEJPy6 (ORCPT ); Thu, 10 May 2018 11:54:58 -0400 Received: from smtprelay0033.hostedemail.com ([216.40.44.33]:35359 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965033AbeEJPy5 (ORCPT ); Thu, 10 May 2018 11:54:57 -0400 X-Greylist: delayed 534 seconds by postgrey-1.27 at vger.kernel.org; Thu, 10 May 2018 11:54:57 EDT Received: from smtprelay.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by smtpgrave08.hostedemail.com (Postfix) with ESMTP id 914F01801AA86 for ; Thu, 10 May 2018 15:46:27 +0000 (UTC) Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 46AFE181D3368; Thu, 10 May 2018 15:46:23 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: sun36_1a8f66336041b X-Filterd-Recvd-Size: 1922 Received: from joe-laptop.perches.com (unknown [47.151.150.235]) (Authenticated sender: joe@perches.com) by omf04.hostedemail.com (Postfix) with ESMTPA; Thu, 10 May 2018 15:46:22 +0000 (UTC) From: Joe Perches To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 07/18] blk-mq: Remove pr_fmt duplicate logging prefixes Date: Thu, 10 May 2018 08:45:33 -0700 Message-Id: <55ec0aec733169ae8cd8eec0a9581c693725de04.1525964385.git.joe@perches.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: References: Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Converting pr_fmt from a simple define to use KBUILD_MODNAME added some duplicate logging prefixes to existing uses. Remove them. Signed-off-by: Joe Perches --- block/blk-mq.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 9ce9cac16c3f..37e6206e745c 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2782,13 +2782,13 @@ static int blk_mq_alloc_rq_maps(struct blk_mq_tag_set *set) } while (set->queue_depth); if (!set->queue_depth || err) { - pr_err("blk-mq: failed to allocate request map\n"); + pr_err("failed to allocate request map\n"); return -ENOMEM; } if (depth != set->queue_depth) - pr_info("blk-mq: reduced tag depth (%u -> %u)\n", - depth, set->queue_depth); + pr_info("reduced tag depth (%u -> %u)\n", + depth, set->queue_depth); return 0; } @@ -2845,8 +2845,7 @@ int blk_mq_alloc_tag_set(struct blk_mq_tag_set *set) return -EINVAL; if (set->queue_depth > BLK_MQ_MAX_DEPTH) { - pr_info("blk-mq: reduced tag depth to %u\n", - BLK_MQ_MAX_DEPTH); + pr_info("reduced tag depth to %u\n", BLK_MQ_MAX_DEPTH); set->queue_depth = BLK_MQ_MAX_DEPTH; }