Re: [PATCH] Remove unaligned/packed_struct.h header

From: Al Viro
Date: Tue Jun 03 2025 - 10:29:54 EST


On Tue, Jun 03, 2025 at 03:24:14PM +0200, Julian Vetter wrote:
> The functions in this header are deprecated and are not used anymore.
> So, remove the header entirely.

; git grep -n __get_unaligned_cpu32
include/linux/jhash.h:80: a += __get_unaligned_cpu32(k);
include/linux/jhash.h:81: b += __get_unaligned_cpu32(k + 4);
include/linux/jhash.h:82: c += __get_unaligned_cpu32(k + 8);
include/linux/unaligned/packed_struct.h:16:static inline u32 __get_unaligned_cpu32(const void *p)
tools/include/linux/jhash.h:80: a += __get_unaligned_cpu32(k);
tools/include/linux/jhash.h:81: b += __get_unaligned_cpu32(k + 4);
tools/include/linux/jhash.h:82: c += __get_unaligned_cpu32(k + 8);
tools/include/linux/unaligned/packed_struct.h:17:static inline u32 __get_unaligned_cpu32(const void *p)