mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-08-22 00:42:01 +02:00
![]() When "arg#%d expected pointer to ctx, but got %s" error is printed, both
template parts actually point to the type of the argument, therefore, it
will also say "but got PTR", regardless of what was the actual register
type.
Fix the message to print the register type in the second part of the
template, change the existing test to adapt to the new format, and add a
new test to test the case when arg is a pointer to context, but reg is a
scalar.
Fixes:
|
||
---|---|---|
.. | ||
.gitignore | ||
atomic_and.c | ||
atomic_bounds.c | ||
atomic_cmpxchg.c | ||
atomic_fetch_add.c | ||
atomic_fetch.c | ||
atomic_invalid.c | ||
atomic_or.c | ||
atomic_xchg.c | ||
atomic_xor.c | ||
basic_call.c | ||
basic_instr.c | ||
basic_stx_ldx.c | ||
basic.c | ||
bpf_loop_inline.c | ||
bpf_st_mem.c | ||
calls.c | ||
ctx_sk_lookup.c | ||
ctx_skb.c | ||
dead_code.c | ||
direct_value_access.c | ||
event_output.c | ||
jit.c | ||
jmp32.c | ||
jset.c | ||
jump.c | ||
junk_insn.c | ||
ld_abs.c | ||
ld_dw.c | ||
ld_imm64.c | ||
map_kptr.c | ||
perf_event_sample_period.c | ||
precise.c | ||
scale.c | ||
sleepable.c | ||
wide_access.c |