mirror of https://github.com/torvalds/linux.git
Type punning is necessary for get/put_unaligned() but the use of a packed struct violates strict aliasing rules, requiring -fno-strict-aliasing to be passed to the C compiler. Switch to using memcpy() so that -fno-strict-aliasing isn't necessary. Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/20251016205126.2882625-3-irogers@google.com |
||
|---|---|---|
| .. | ||
| align.h | ||
| auxclock.h | ||
| bits.h | ||
| cache.h | ||
| clocksource.h | ||
| const.h | ||
| datapage.h | ||
| getrandom.h | ||
| gettime.h | ||
| helpers.h | ||
| jiffies.h | ||
| ktime.h | ||
| limits.h | ||
| math64.h | ||
| page.h | ||
| processor.h | ||
| time.h | ||
| time32.h | ||
| time64.h | ||
| unaligned.h | ||
| vsyscall.h | ||