From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602661995; bh=bcwjZ3TEl5QSPMWLEHU5bea8JB58aePgKg833OzucIk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=A3+WWLl7HW03G++pKkyE4RfIuOQz9Qj88dO6rwuQFcI6Zp5iu45RR8Sk6xqdHsBEI sFhYPLtp/e/U3i6ADjJGFuxwUYYtlmpY9chHJDDyn3nAjSWX9IySKUVzhpeFfLkv1T 6Zt6Y54Se66XquCMhZPF9XAndewNFjHaTiYXCe3g= Date: Wed, 14 Oct 2020 10:53:10 +0300 From: Leon Romanovsky Message-ID: <20201014075310.GG6305@unreal> References: <20201013173951.25677bcc@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <20201014054250.GB6305@unreal> <3be8fd19-1c7e-0e05-6039-e5404b2682b9@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3be8fd19-1c7e-0e05-6039-e5404b2682b9@gmail.com> Subject: Re: [Bridge] [PATCH net-next v2 00/12] net: add and use function dev_fetch_sw_netstats for fetching pcpu_sw_netstats List-Id: Linux Ethernet Bridging List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Heiner Kallweit Cc: Andrew Lunn , Linux USB Mailing List , Steffen Klassert , Florian Fainelli , Herbert Xu , Sergey Matyukevich , linux-rdma@vger.kernel.org, bridge@lists.linux-foundation.org, Pravin B Shelar , Nikolay Aleksandrov , Roopa Prabhu , Jakub Kicinski , Vivien Didelot , Igor Mitsyanko , Alexey Kuznetsov , Kalle Valo , Hideaki YOSHIFUJI , "netdev@vger.kernel.org" , Oliver Neukum , linux-wireless , Johannes Berg , Vladimir Oltean , David Miller , =?iso-8859-1?Q?Bj=F8rn?= Mork On Wed, Oct 14, 2020 at 08:13:47AM +0200, Heiner Kallweit wrote: > On 14.10.2020 07:42, Leon Romanovsky wrote: > > On Tue, Oct 13, 2020 at 05:39:51PM -0700, Jakub Kicinski wrote: > >> On Mon, 12 Oct 2020 10:00:11 +0200 Heiner Kallweit wrote: > >>> In several places the same code is used to populate rtnl_link_stats64 > >>> fields with data from pcpu_sw_netstats. Therefore factor out this code > >>> to a new function dev_fetch_sw_netstats(). > >>> > >>> v2: > >>> - constify argument netstats > >>> - don't ignore netstats being NULL or an ERRPTR > >>> - switch to EXPORT_SYMBOL_GPL > >> > >> Applied, thank you! > > > > Jakub, > > > > Is it possible to make sure that changelogs are not part of the commit > > messages? We don't store previous revisions in the git repo, so it doesn't > > give too much to anyone who is looking on git log later. The lore link > > to the patch is more than enough. > > > I remember that once I did it the usual way (changelog below the ---) David > requested the changelog to be part of the commit message. So obviously he > sees some benefit in doing so. Do you have a link? What is the benefit and how can we use it? Usually such request comes to ensure that commit message is updated with extra information (explanation) existed in changelog which is missing in the patch. Thanks > > > 44fa32f008ab ("net: add function dev_fetch_sw_netstats for fetching pcpu_sw_netstats") > > > > Thanks > > >