]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
parisc: Inline a type punning version of get_unaligned_le32()
authorIan Rogers <irogers@google.com>
Thu, 16 Oct 2025 20:51:23 +0000 (13:51 -0700)
committerThomas Gleixner <tglx@kernel.org>
Wed, 14 Jan 2026 07:56:41 +0000 (08:56 +0100)
commitdf0f9a664be55a8529362a1ada847a19a91e4807
treed9dbc0da318e57b82925c59d86aba6ea2cd78764
parent7158fc54b2c6f124eec0d7cd13bff69da0172e59
parisc: Inline a type punning version of get_unaligned_le32()

Reading the byte/char output_len with get_unaligned_le32() can trigger
compiler warnings due to the size read. Avoid these warnings by using
type punning. This avoids issues when switching get_unaligned_t() to
__builtin_memcpy().

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Link: https://patch.msgid.link/20251016205126.2882625-2-irogers@google.com
arch/parisc/boot/compressed/misc.c