Revision ade77a2da81efb5eaff1f7cc1b1bc14cd9380faa authored by Stefano Stabellini on 01 October 2019, 17:38:03 UTC, committed by Stefano Stabellini on 01 October 2019, 19:43:12 UTC
HYPERVISOR_platform_op() is an inline function and should not
be exported. Since commit 15bfc2348d54 ("modpost: check for
static EXPORT_SYMBOL* functions"), this causes a warning:

WARNING: "HYPERVISOR_platform_op" [vmlinux] is a static EXPORT_SYMBOL_GPL

Instead, export the underlying function called by the static inline:
HYPERVISOR_platform_op_raw.

Fixes: 15bfc2348d54 ("modpost: check for static EXPORT_SYMBOL* functions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
1 parent df359f0
History
File Mode Size
Makefile -rw-r--r-- 95 bytes
qmi_sample_client.c -rw-r--r-- 14.2 KB

back to top