diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2026-11-10 17:20:13 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-11-10 17:20:13 +0800 |
| commit | 67517aa0a0b30a8c2ddc2c34cdf2433a9c3152f0 (patch) | |
| tree | 313682fda19be41e269d4a0e41fb9e23dc433b29 /include/linux/debugobjects.h | |
| parent | 7475ea8b58616b33c04afb976cf0fbaad9dd63fb (diff) | |
ACPI: LoongArch: Fix incorrect pointer in acpi_iovt_init()
In acpi_iovt_init(), hdr is of type struct acpi_table_iovt *. Passing
&hdr results in a pointer to the local variable rather than a pointer
to the IOVT table. Drop the address-of operator and pass hdr directly.
Cc: stable@vger.kernel.org
Fixes: a9b0c34507eb ("ACPI: LoongArch: Add acpi_arch_[late]_init()")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
