Re: [PATCH v2] net: ethernet: sun4i-emac: replace magic number with macro
From: Conley Lee
Date: Mon Jan 10 2022 - 09:42:16 EST
On 01/10/22 at 03:05下午, Leon Romanovsky wrote:
> Date: Mon, 10 Jan 2022 15:05:20 +0200
> From: Leon Romanovsky <leon@xxxxxxxxxx>
> To: Conley Lee <conleylee@xxxxxxxxxxx>
> Cc: davem@xxxxxxxxxxxxx, kuba@xxxxxxxxxx, mripard@xxxxxxxxxx,
> wens@xxxxxxxx, clabbe.montjoie@xxxxxxxxx, netdev@xxxxxxxxxxxxxxx,
> linux-arm-kernel@xxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxx>
> > ---
> > 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 ~