[PATCH v2] net: ethernet: sun4i-emac: replace magic number with macro

Conley Lee conleylee at foxmail.com
Mon Jan 10 06:42:02 PST 2022


On 01/10/22 at 03:05下午, Leon Romanovsky wrote:
> Date: Mon, 10 Jan 2022 15:05:20 +0200
> From: Leon Romanovsky <leon at kernel.org>
> To: Conley Lee <conleylee at foxmail.com>
> Cc: davem at davemloft.net, kuba at kernel.org, mripard at kernel.org,
>  wens at csie.org, clabbe.montjoie at gmail.com, netdev at vger.kernel.org,
>  linux-arm-kernel at lists.infradead.org, linux-kernel at vger.kernel.org
> Subject: Re: [PATCH v2] net: ethernet: sun4i-emac: replace magic number
>  with macro
> 
> On Mon, Jan 10, 2022 at 07:35:49PM +0800, Conley Lee wrote:
> > This patch remove magic numbers in sun4i-emac.c and replace with macros
> > defined in sun4i-emac.h
> > 
> > Change since v1
> > ---------------
> > - reformat
> > - merge commits
> > - add commit message
> 
> This changelog should be placed after "---" below your SOB.
> 
> Thanks
> 
> > 
> > Signed-off-by: Conley Lee <conleylee at foxmail.com>
> > ---
> >  drivers/net/ethernet/allwinner/sun4i-emac.c | 30 ++++++++++++---------
> >  drivers/net/ethernet/allwinner/sun4i-emac.h | 18 +++++++++++++
> >  2 files changed, 35 insertions(+), 13 deletions(-)
I will reformat it and submit again, thanks ~



More information about the linux-arm-kernel mailing list