Received: by 10.192.165.148 with SMTP id m20csp1315505imm; Thu, 10 May 2018 08:50:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrfjTkFVPIja2u2TmAdCowynb7wLAzigL+E/VLGJpgkgv1MDrWr1g0z5H2hf3F9KPpGVzEt X-Received: by 2002:a63:35c9:: with SMTP id c192-v6mr1559339pga.116.1525967421728; Thu, 10 May 2018 08:50:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525967421; cv=none; d=google.com; s=arc-20160816; b=HnXZ62fr+UbFOxBGxcrXLw3MHeedBT2O+B2AUoHdnlkB+3NKnvYm2rkKwfiQjFVqgk JjrM5bVGIbhZ586AWJ6m4F8K2Hybph2+QxErkN4BWa+gq6oXm4S+p7bxUdn8HK7y6N4U sNfEFOcuWh1Dicuo09AE3WYbTc1L4fevbUQjlsrDPZ0nUgeIQqJBXzBN28OA+VeZfb6T fznu8svHIHt6JhivBSYfYmv4HYuMYEJsdbLMIe6ijYsNnkjkWLOjaAhwEgYS06rvfqkz PIPsD2WafoPiihVuxODE3CJfFcF7E0bXrAozZyE1abejk/oyey6nv7oiA03kb9VjwbIi GXxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=Mie2UmVmB2/oLaruO6hpKHdx/cUWZDHzxXkXqEEEwPY=; b=KBu8oHDjWqyXHES9aKEOVpm/7icovh6EIcp7zWUTEu9Fvx1oSm4/zVC7nzBkIjiWWG jvaAUJmRxaA3cl38z0LWZCw+Bz672rDHINUMncaHBogx6OzrkWEQimRA1rbwvPjOivfq 1LtBh4cy/yFsJbe/Y+GevxxUy9ItK+PNYdBJ4scoy7qYPiXUYO2kcdhNu5q/2I4anq5G 3X7tn5rH6c9Png6xQVxEvl1e0TLMPGTJqKHqs6+ZEkKxzzL4QfdqrgKQcJV4nDhfVRRu g/B0RZzrM4vlgAU3yZWSEAwFnvGarzrcaeHq/bdoF23DbVViiEZH5fOOrfw4xKEBpkJq xiDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9-v6si950371plo.568.2018.05.10.08.50.06; Thu, 10 May 2018 08:50:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S966415AbeEJPtR (ORCPT + 99 others); Thu, 10 May 2018 11:49:17 -0400 Received: from smtprelay0066.hostedemail.com ([216.40.44.66]:52447 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S966172AbeEJPqZ (ORCPT ); Thu, 10 May 2018 11:46:25 -0400 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-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::,RULES_HIT:41:355:379:541:800:960:968:973:988:989:1260:1345:1359:1437:1534:1541:1711:1730:1747:1777:1792:2393:2559:2562:3138:3139:3140:3141:3142:3352:3867:4419:5007:6261:6642:10004:10848:11026:11232:11473:11658:11914:12296:12438:12555:12895:13069:13311:13357:14181:14384:14394:14721:21080:21433:21451:21627:30054,0,RBL:47.151.150.235:@perches.com:.lbl8.mailshell.net-62.8.0.100 64.201.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fn,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:20,LUA_SUMMARY:none 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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; } -- 2.15.0