On Fri, 14 Jan 2022 11:26:25 +0000, Christophe Leroy wrote:
Commit 770cec16cdc9 ("powerpc/audit: Simplify syscall_get_arch()") and commit 898a1ef06ad4 ("powerpc/audit: Avoid unneccessary #ifdef in syscall_get_arguments()") replaced test_tsk_thread_flag(task, TIF_32BIT)) by is_32bit_task().
But is_32bit_task() applies on current task while be want the test done on task 'task'
[...]
Applied to powerpc/fixes.
[1/1] powerpc/audit: Fix syscall_get_arch() https://git.kernel.org/powerpc/c/252745240ba0ae774d2f80c5e185ed59fbc4fb41
cheers