Re: [PATCH v2 0/2] Remove remaining __get_unaligned_cpu32
From: Arnd Bergmann
Date: Thu Oct 29 2026 - 08:49:32 EST
On Thu, Oct 29, 2026, at 10:17, Julian Vetter wrote:
> This is the remainder of my series removing the deprecated
> __get_unaligned_cpuX() helpers. Patch 1/5 of the previous version was
> already applied as commit 50b4233a22b1 ("include/linux/jhash.h: replace
> __get_unaligned_cpu32 in jhash function"), so this version only contains
> the remaining patches, rebased onto current master.
>
> There are no users of the helpers left in the tree, so patch 1 removes
> include/linux/unaligned/packed_struct.h. Patch 2 does the same for the
> tools copy.
>
> Signed-off-by: Julian Vetter <julian@xxxxxxxxxxxxxxxx>
> ---
> Changes in v2:
> - Drop patch 1/5 -> already applied
> - Squash the three tools patches (3/5, 4/5, 5/5) into one
> - Include linux/kernel.h explicitly. It was previously pulled in through
> packed_struct.h
> - Also drop the "#pragma GCC diagnostic" in check-headers.sh. The
> pragmas were removed in commit 10a62a0611f5 ("tools headers: Remove
> unneeded ignoring of warnings in unaligned.h")
Looks good, I've applied this to my preliminary asm-generic tree so I
don't forget about it. I'll rebase this next week for integration
into linux-next and 7.5.
Thanks for finishing this work!
Arnd
[1] https://git.kernel.org/pub/scm/linux/kernel/git/arnd/asm-generic.git/log/?h=asm-generic