Comment 0 for bug 2035123

Revision history for this message
David Thompson (dthompso-98) wrote : scripts/pahole-flags.sh needs upstream fix

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.