Skip to contentSkip to conversation

linux-next: Fixes tag needs some work in the drm-msm tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Dec 6, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

In commit

9b73bde39cf2 ("drm/msm: Fix use-after-free in msm_gem with carveout")

Fixes tag

Fixes 4b85f7f5cf7 ("drm/msm: support for an arbitrary number of address spaces")

has these problem(s):

- SHA1 should be at least 12 digits long

In the furture, this can be avoided 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").

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 10 lines · Stephen Rothwell

Hi all,

In commit

   9b73bde39cf2 ("drm/msm: Fix use-after-free in msm_gem with carveout")

Fixes tag

Fixes 4b85f7f5cf7 ("drm/msm: support for an arbitrary number of address spaces")
Quoted 7 lines

has these problem(s):

   - SHA1 should be at least 12 digits long

In the furture, this can be avoided 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").

I'm sorry, I copied and truncated the hash by hand. I should have used

    git log --pretty=reference

Also scripts/checkpatch.pl didn't notice it. Should I submit v3 of the patch or it's too late.

Regards,
Iskren

#2 lore raw

Hi Iskren,

Quoted 4 lines · On Sun, 6 Dec 2020 23:05:30 +0200 Iskren Chernev <[email protected]>…

I'm sorry, I copied and truncated the hash by hand. I should have used

    git log --pretty=reference

We actually prefer

	git log -1 --format='Fixes: %h (\"%s\")'

for fixes tags.

Quoted 2 lines

Also scripts/checkpatch.pl didn't notice it. Should I submit v3 of the patch or it's too late.

I don't think it matters for now, just in the future, please.

Signature · 2 lines
Cheers,
Stephen Rothwell
#3 lore raw

Hi all,

Quoted 4 lines · On Mon, 7 Dec 2020 08:57:43 +1100 Stephen Rothwell <[email protected]> wrote:

We actually prefer

	git log -1 --format='Fixes: %h (\"%s\")'
	git log -1 --format='Fixes: %h ("%s")'

sorry :-)

Signature · 2 lines
Cheers,
Stephen Rothwell