Re: [PATCH] net: dsa: lantiq_gswip: Add 200ms assert delay

From: Vladimir Oltean
Date: Tue Aug 17 2021 - 16:22:18 EST


On Tue, Aug 17, 2021 at 10:44:48PM +0300, Vladimir Oltean wrote:
> On Tue, Aug 17, 2021 at 09:32:07PM +0200, Aleksander Jan Bajkowski wrote:
> > The delay is especially needed by the xRX300 and xRX330 SoCs. Without
> > this patch, some phys are sometimes not properly detected.
> >
> > Fixes: a09d042b086202735c4ed64 ("net: dsa: lantiq: allow to use all GPHYs on xRX300 and xRX330")
> > Signed-off-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>
> > Tested-by: Aleksander Jan Bajkowski <olek2@xxxxx> # tested on DWR966, HH5A
> > ---
>
> Generally the convention is:
>
> From: Patch Author <patch.author@xxxxxxxxx>
>
> Commit description
>
> Signed-off-by: Patch Author <patch.author@xxxxxxxxx>
> Signed-off-by: Patch Carrier 1 <patch.carrier1@xxxxxxxxx>
> Signed-off-by: Patch Carrier 2 <patch.carrier2@xxxxxxxxx>
> Signed-off-by: Patch Carrier 3 <patch.carrier3@xxxxxxxxx>
> Signed-off-by: Patch Submitter <patch.submitter@xxxxxxxxx>
>
> This patch is clearly not following this model for more than one reason.

Let's not even talk about the kilometer-long commit sha1sum.
This is not even my pet peeve, if this patch gets merged as-is you'll
get an email titled "linux-next: Fixes tag needs some work in the net tree"
(google it if you want examples).

Stick this in your ~/.gitconfig and thank me later:

[core]
abbrev = 12
[pretty]
fixes = Fixes: %h (\"%s\")

Now run:

git show a09d042b086202735c4ed64 --pretty=fixes
Fixes: a09d042b0862 ("net: dsa: lantiq: allow to use all GPHYs on xRX300 and xRX330")

Voila!