lkml.org 
[lkml]   [2020]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: linux-next: Fixes tag needs some work in the spi-nor tree
Date
On Friday, May 29, 2020 12:06:47 AM EEST Stephen Rothwell wrote:
> Hi all,

Hi, Stephen,

>
> In commit
>
> 5587fa489747 ("mtd: spi-nor: spansion: fix writes on S25FS512S")
>
> Fixes tag
>
> Fixes: dfd2b74530e ("mtd: spi-nor: add Spansion S25FS512S ID")
>
> has these problem(s):
>
> - SHA1 should be at least 12 digits long
> Can be fixed by setting core.abbrev to 12 (or more) or (for git v2.11
> or later) just making sure it is not set (or set to "auto").

Right. Maybe it is worth to add this kind of check in checkpatch.pl. One can
generate the Fixes tag by adding an alias in .gitconfig:

[alias]
fixes = show --format='Fixes: %h (\"%s\")' -s

And generate the Fixes tag with "git fixes sha1"

Cheers,
ta

\
 
 \ /
  Last update: 2020-05-29 09:33    [W:0.080 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site