diff options
author | Bibo Mao <maobibo@loongson.cn> | 2024-01-30 16:27:20 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2024-02-13 10:26:15 +0100 |
commit | f1c2765c6afcd1f71f76ed8c9bf94acedab4cecb (patch) | |
tree | babfcbf65e7d97fb61f5118df1d9fb23deb79a58 /tools/testing/selftests/bpf/prog_tests/access_variable_array.c | |
parent | b0344d6854d25a8b3b901c778b1728885dd99007 (diff) |
irqchip/loongson-eiointc: Use correct struct type in eiointc_domain_alloc()
eiointc_domain_alloc() uses struct eiointc, which is not defined, for a
pointer. Older compilers treat that as a forward declaration and due to
assignment of a void pointer there is no warning emitted. As the variable
is then handed in as a void pointer argument to irq_domain_set_info() the
code is functional.
Use struct eiointc_priv instead.
[ tglx: Rewrote changelog ]
Fixes: dd281e1a1a93 ("irqchip: Add Loongson Extended I/O interrupt controller support")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Huacai Chen <chenhuacai@loongson.cn>
Link: https://lore.kernel.org/r/20240130082722.2912576-2-maobibo@loongson.cn
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/access_variable_array.c')
0 files changed, 0 insertions, 0 deletions