Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752842AbdFTX2H (ORCPT ); Tue, 20 Jun 2017 19:28:07 -0400 Received: from smtprelay0195.hostedemail.com ([216.40.44.195]:58994 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752425AbdFTX2G (ORCPT ); Tue, 20 Jun 2017 19:28:06 -0400 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::,RULES_HIT:41:355:379:541:599:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2110:2393:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3867:3868:3871:3873:3874:4321:5007:7904:10004:10400:10848:11026:11232:11658:11914:12043:12296:12438:12740:12760:12895:13069:13255:13311:13357:13439:14180:14659:14721:21080:21212:21433:21627:30054:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:1,LUA_SUMMARY:none X-HE-Tag: view42_2958c12bd4948 X-Filterd-Recvd-Size: 1850 Message-ID: <1498001282.12185.2.camel@perches.com> Subject: Re: [PATCH] [PATCH v2 net-next] bonding: Convert multiple netdev_info messages to netdev_dbg From: Joe Perches To: Michael J Dilmore , j.vosburgh@gmail.com Cc: vfalico@gmail.com, andy@greyhouse.net, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 20 Jun 2017 16:28:02 -0700 In-Reply-To: <1497996331-24500-1-git-send-email-michael.j.dilmore@gmail.com> References: <1497996331-24500-1-git-send-email-michael.j.dilmore@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.22.6-1ubuntu1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 940 Lines: 24 On Tue, 2017-06-20 at 23:05 +0100, Michael J Dilmore wrote: > The bond_options.c file contains several netdev_info messages that clutter kernel output. This patch changes all netdev_info messages > to netdev_dbg and adds a netdev debug for the packets per slave parameter. Hey Michael. You should realign the multiple-line statements to the open parentheses. cheers, Joe > diff --git a/drivers/net/bonding/bond_options.c b/drivers/net/bonding/bond_options.c [] > @@ -721,13 +721,13 @@ static int bond_option_mode_set(struct bonding *bond, > const struct bond_opt_value *newval) > { > if (!bond_mode_uses_arp(newval->value) && bond->params.arp_interval) { > - netdev_info(bond->dev, "%s mode is incompatible with arp monitoring, start mii monitoring\n", > + netdev_dbg(bond->dev, "%s mode is incompatible with arp monitoring, start mii monitoring\n", > newval->string); Now all these are not aligned properly. etc...