linux-next: Fixes tag needs some work in the mm tree
Hi all,
In commit
3a41f36f7083 ("selftests/vm: fix "add thp collapse file and tmpfs testing" for tmpfs")
Fixes tag
has these problem(s):
- Subject does not match target commit subject
Just use
git log -1 --format='Fixes: %h ("%s")'So
or maybe
Signature · 2 lines
Cheers, Stephen Rothwell
Quoted 16 lines · Stephen Rothwell
Hi all,
In commit
3a41f36f7083("selftests/vm: fix "add thp collapse file and tmpfs testing" for tmpfs")Fixes tag
Fixes 64b9fb1fa904 ("selftests/vm: add thp collapse file and tmpfs testing")has these problem(s):
- Subject does not match target commit subject
Just use git log -1 --format='Fixes: %h ("%s")'
Quoted 11 lines
So
Fixes 64b9fb1fa904 ("selftests/vm: add thp collapse shmem testing")or maybe
Fixes 465c955b7343 ("selftests/vm: add thp collapse file and tmpfs testing")Signature · 2 lines
Cheers, Stephen Rothwell
Hey Stephen,
Apologies here. Yes, the correct Fixes tag should be, based off latest mm-unstable,
Now, I'm quite confused as to has this happened as I've been generating citations using something similar to the --format string you reference, but perhaps this time I chose to do it manually and messed it up. Anyways, will write something to catch these mistakes in the future.
Andrew, there are a few changes incoming to the "mm: add file/shmem support to MADV_COLLAPSE" series based off recent reviews (including another patch with a commit description change). Perhaps it's easier for me to send a new (v4) series to mm-unstable to address these? Otherwise, I'm not sure how to request these metadata changes.
Best,
Zach
Quoted 9 lines · On Mon, 19 Sep 2022 07:47:51 -0700 "Zach O'Keefe" <[email protected]> wrote:
Apologies here. Yes, the correct Fixes tag should be, based off latest mm-unstable,
Fixes 8d88fef0b3d8 ("selftests/vm: add thp collapse file and tmpfs testing")Now, I'm quite confused as to has this happened as I've been generating citations using something similar to the --format string you reference, but perhaps this time I chose to do it manually and messed it up. Anyways, will write something to catch these mistakes in the future.
The hashes in mm-unstable change every day.
Doesn't matter, I'll queue fixes against mm-unstable's foo.patch as foo-fix.patch and I'll squash foo-fix.patch into foo.patch before moving f.patch into mm-stable.
Quoted 5 lines
Andrew, there are a few changes incoming to the "mm: add file/shmem support to
MADV_COLLAPSE" series based off recent reviews (including another patch with a commit description change). Perhaps it's easier for me to send a new (v4) series to mm-unstable to address these? Otherwise, I'm not sure how to request these metadata changes.
As described above, the metadata gets fixed at this end. mm-unstable is called "unstable" for a reason ;)
But yes, I think a replacement series would be best in this case.
Quoted 13 lines · Andrew Morton
Quoted 9 lines · On Mon, 19 Sep 2022 07:47:51 -0700 "Zach O'Keefe" <[email protected]> wrote:
Apologies here. Yes, the correct Fixes tag should be, based off latest mm-unstable,
Fixes 8d88fef0b3d8 ("selftests/vm: add thp collapse file and tmpfs testing")Now, I'm quite confused as to has this happened as I've been generating citations using something similar to the --format string you reference, but perhaps this time I chose to do it manually and messed it up. Anyways, will write something to catch these mistakes in the future.
Quoted 6 lines
The hashes in mm-unstable change every day.
Doesn't matter, I'll queue fixes against mm-unstable's foo.patch as foo-fix.patch and I'll squash foo-fix.patch into foo.patch before moving f.patch into mm-stable.
Roger that, thanks Andrew.
Quoted 10 lines
Quoted 5 lines
Andrew, there are a few changes incoming to the "mm: add file/shmem support to
MADV_COLLAPSE" series based off recent reviews (including another patch with a commit description change). Perhaps it's easier for me to send a new (v4) series to mm-unstable to address these? Otherwise, I'm not sure how to request these metadata changes.As described above, the metadata gets fixed at this end. mm-unstable is called "unstable" for a reason ;)
But yes, I think a replacement series would be best in this case.
Sounds good, and hopefully I will have that out later today.
Best, and thanks for your help here,
Zach