diff options
| author | Puranjay Mohan <puranjay@kernel.org> | 2025-12-19 11:13:08 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2025-12-21 16:57:23 -0800 |
| commit | f785a31395d9cafb8b2c42c7358fad72a6463142 (patch) | |
| tree | 92eaa7424779e944a63c837ec72cd218c858575c /include/linux/timer.h | |
| parent | d2749ae85aec685e52e0474f445f6a8552363eb0 (diff) | |
bpf: arm64: Fix sparse warnings
ctx->image is declared as __le32 because arm64 instructions are LE
regardless of CPU's runtime endianness. emit_u32_data() emits raw data
and not instructions so cast the value to __le32 to fix the sparse
warning.
Cast function pointer to void * before doing arithmetic.
Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Link: https://lore.kernel.org/r/20251219191310.3204425-1-puranjay@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/timer.h')
0 files changed, 0 insertions, 0 deletions
