Skip to contentSkip to conversation

b4 seems to be dropping "cc: stable" on patches.

DISCUSSION Greg KH 2 participants 3 messages Oct 19, 2020

lore
Share & tools
lore

Greg KH

author
#0 lore raw

Hi Konstantin,

It looks like 'b4' is dropping the cc: stable lines of patches.

Or at least it currently does this for me when I do the following:

$ b4 am -t https://lore.kernel.org/r/[email protected]
Looking up https://lore.kernel.org/r/20200921135951.24045-3-johan%40kernel.org
Grabbing thread from lore.kernel.org/linux-usb
Analyzing 22 messages in the thread
---
Writing ./v2_20200921_johan_usb_cdc_acm_handle_broken_union_descriptors.mbx
  [PATCH v2 1/4] Revert "cdc-acm: hardening against malicious devices"
    + Acked-by: Oliver Neukum <[email protected]>
  [PATCH v2 2/4] USB: cdc-acm: handle broken union descriptors
    + Tested-by: Daniel Caujolle-Bert <[email protected]>
    + Acked-by: Oliver Neukum <[email protected]>
  [PATCH v2 3/4] USB: cdc-acm: use common data-class define
    + Acked-by: Oliver Neukum <[email protected]>
  [PATCH v2 4/4] USB: cdc-acm: clean up no-union-descriptor handling
    + Acked-by: Oliver Neukum <[email protected]>
---
Total patches: 4
---
Cover: ./v2_20200921_johan_usb_cdc_acm_handle_broken_union_descriptors.cover
 Link: https://lore.kernel.org/r/[email protected]
 Base: not found
       git am ./v2_20200921_johan_usb_cdc_acm_handle_broken_union_descriptors.mbx

If you look at the mbox, the "cc: stable" is now gone from the signed-off-by area of the patch.

Johan just noticed this in this discussion of a patch that was "auto selected" for stable backporting:

	https://lore.kernel.org/linux-usb/20201019070218.GO26280@localhost/

And as I've been using b4 for a few weeks now to apply patches, I don't know where else this has dropped things :(

I can reproduce this on the current b4 git tree, at commit c0910ee77a2a ("Fix header encoding introduced by earlier fix") as of this moment.

thanks,

greg k-h

#1 lore raw
Quoted 3 lines · Greg Kroah-Hartman

Hi Konstantin,

It looks like 'b4' is dropping the cc: stable lines of patches.

Correct, sorry about that -- I was trying to tighten trailer recognition to avoid hitting some of the false-positives I've seen and apparently this affected Cc: and Link: trailers. :(

This is currently fixed.

Quoted 2 lines

I can reproduce this on the current b4 git tree, at commit c0910ee77a2a ("Fix header encoding introduced by earlier fix") as of this moment.

This is one of the dangers of the devel branch, unfortunately -- sometimes it ends up with half-baked code. I do need to finally put a solid test matrix in place, which is the target for 0.7.0 -- currently I'm just continuously running on lkml to find crashers, but it's not a good enough solution for finding formatting errors. So, the hope is that we'll learn to avoid regressions like this one in the near future.

-K

author
#2 lore raw
Quoted 9 lines · Konstantin Ryabitsev
Quoted 3 lines · Greg Kroah-Hartman

Hi Konstantin,

It looks like 'b4' is dropping the cc: stable lines of patches.

Correct, sorry about that -- I was trying to tighten trailer recognition to avoid hitting some of the false-positives I've seen and apparently this affected Cc: and Link: trailers. :(

Quoted 7 lines

This is currently fixed.

Quoted 2 lines

I can reproduce this on the current b4 git tree, at commit c0910ee77a2a ("Fix header encoding introduced by earlier fix") as of this moment.

This is one of the dangers of the devel branch, unfortunately -- sometimes it ends up with half-baked code.

Hey, someone has to test the stuff, might as well be people who rely on it :)

Thanks for fixing this so quickly, much appreciated.

greg k-h