Re: [PATCH] net: liquidio: fix mixed module-builtin object

From: Simon Horman
Date: Tue Jun 06 2023 - 04:56:09 EST


On Sun, Jun 04, 2023 at 01:32:13PM +0900, Masahiro Yamada wrote:
> With CONFIG_LIQUIDIO=m and CONFIG_LIQUIDIO_VF=y (or vice versa),
> $(common-objs) are linked to a module and also to vmlinux even though
> the expected CFLAGS are different between builtins and modules.
>
> This is the same situation as fixed by commit 637a642f5ca5 ("zstd:
> Fixing mixed module-builtin objects").
>
> Introduce the new module, liquidio-core, to provide the common functions
> to liquidio and liquidio-vf.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>