Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 3 messages Jan 11, 2021 – Jan 12, 2021 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

In commit

2ef0170e9039 ("spi: cadence-quadspi: Fix build warning on 32-bit platforms")

Fixes tag

Fixes f453f293979f ("spi: cadence-quadspi: Wait at least 500 ms for direct reads")

has these problem(s):

- Subject does not match target commit subject

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

Did yu mean

Fixes f453f293979f ("spi: cadence-quadspi: Add DTR support")

or

Fixes 0920a32cf6f2 ("spi: cadence-quadspi: Wait at least 500 ms for direct reads")
Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

+Cc checkpatch.pl maintainers.

Quoted 16 lines · Stephen Rothwell

Hi all,

In commit

2ef0170e9039 ("spi: cadence-quadspi: Fix build warning on 32-bit platforms")

Fixes tag

Fixes f453f293979f ("spi: cadence-quadspi: Wait at least 500 ms for direct reads")

has these problem(s):

- Subject does not match target commit subject

    Just use
	git log -1 --format='Fixes: %h ("%s")'
Quoted 7 lines

Did yu mean

Fixes f453f293979f ("spi: cadence-quadspi: Add DTR support")

or

Fixes 0920a32cf6f2 ("spi: cadence-quadspi: Wait at least 500 ms for direct reads")

I meant this one. My mistake. Copied the wrong hash. Any way to fix this now?

This check should probably be added in checkpatch.pl so mistakes like this can be avoided in the future.

Signature · 3 lines
Regards,
Pratyush Yadav
Texas Instruments India
maintainer
#2 lore raw
Quoted 2 lines · Pratyush Yadav

I meant this one. My mistake. Copied the wrong hash. Any way to fix this now?

Not without rebasing which I generally avoid.