It appears that Linus applied a fix for this directly in a merge commit:
https://github.com/torvalds/linux/commits/fc02cb2b37fe2cbf1d3334b9f0f0eab9431766c4
When the change with this bug was backported to stable, the fix was
squashed. But we appear to have cherry-picked the version from mainline
instead of the one from stable which had the bug.
** Changed in: linux-bluefield (Ubuntu)
Status: New => Triaged
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-bluefield in Ubuntu.
https://bugs.launchpad.net/bugs/2035123
Title:
scripts/pahole-flags.sh needs upstream fix
Status in linux-bluefield package in Ubuntu:
Triaged
Bug description:
When doing a kernel make in our Jammy repo we notice the follow error
being emitted:
./scripts/pahole-flags.sh: line 7: return: can only `return' from a
function or sourced script
It appears that while the Jammy baseline is 5.15.99 (as per the top-level
Makefile)
the file scripts/pahole-flags.sh is out of date with upstream 5.15.99
The upstream 5.15.99 version of scripts/pahole-flags.sh fixes this issue by
making this change:
7c7
< return
---
> exit 0
This seems like a simple fix, but not sure who should be fixing this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2035123/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp