Skip to contentSkip to conversation

linux-next: Fixes tags need some work in the printk tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Sep 1, 2020 – Sep 3, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

In commits

e5e4c07d9233 ("docs: vmcoreinfo: add lockless printk ringbuffer vmcoreinfo") 0cfdacd74ad5 ("scripts/gdb: update for lockless printk ringbuffer")

Fixes tag

Fixes ("printk: use the lockless ringbuffer")

has these problem(s):

- No SHA1 recognised

Maybe you meant

Fixes 254685ef9374 ("scripts/gdb: update for lockless printk ringbuffer")
Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen,

Quoted 10 lines · Stephen Rothwell

Hi all,

In commits

e5e4c07d9233 ("docs: vmcoreinfo: add lockless printk ringbuffer vmcoreinfo") 0cfdacd74ad5 ("scripts/gdb: update for lockless printk ringbuffer")

Fixes tag

Fixes ("printk: use the lockless ringbuffer")

The problem is that this commit is not in mainline. It is living only in printk/linux.git.

Quoted 4 lines

has these problem(s):

- No SHA1 recognised

Could we use the SHA1 from the maintainer tree when it would not get rebased?

Or should we rather avoid Fixes: tag referencing commits that are not in mainline?

I am sorry to bother you with this silly question. I do not see any hint in Documentation/process/submitting-patches.rst.

Best Regards,
Petr

#2 lore raw

Hi Petr,

Quoted 11 lines · On Wed, 2 Sep 2020 09:26:11 +0200 Petr Mladek <[email protected]> wrote:

The problem is that this commit is not in mainline. It is living only in printk/linux.git.

Could we use the SHA1 from the maintainer tree when it would not get rebased?

Or should we rather avoid Fixes: tag referencing commits that are not in mainline?

I am sorry to bother you with this silly question. I do not see any hint in Documentation/process/submitting-patches.rst.

Well, in theory, maintainers trees should not be rebased after they have been published (except in exceptional circumstances), so using SHA1s from them should be OK. Especially if the fixing commit is in the same maintainers tree (which it should be, right). It does mean that maintainers need to be a bit more careful if they do rebase their trees to update any Fixes tags (or other commit references) that are affected by the rebase.

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

Hi Petr,

Quoted 11 lines · On Wed, 2 Sep 2020 09:26:11 +0200 Petr Mladek <[email protected]> wrote:

The problem is that this commit is not in mainline. It is living only in printk/linux.git.

Could we use the SHA1 from the maintainer tree when it would not get rebased?

Or should we rather avoid Fixes: tag referencing commits that are not in mainline?

I am sorry to bother you with this silly question. I do not see any hint in Documentation/process/submitting-patches.rst.

Quoted 7 lines

Well, in theory, maintainers trees should not be rebased after they have been published (except in exceptional circumstances), so using SHA1s from them should be OK. Especially if the fixing commit is in the same maintainers tree (which it should be, right). It does mean that maintainers need to be a bit more careful if they do rebase their trees to update any Fixes tags (or other commit references) that are affected by the rebase.

Thanks a lot for info.

I have rebased the last 5 commits in the printk-rework branch and added the missing SHAs there.

Best Regards,
Petr