[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOcKUNXT9heNVCpqZqEy7MOx6=+oYZKXKQgsTLLWmffP-v8nhg@mail.gmail.com>
Date: Mon, 5 Jun 2023 15:49:54 +0800
From: Ying Liu <gnuiyl@...il.com>
To: Masahiro Yamada <masahiroy@...nel.org>
Cc: Andrzej Hajda <andrzej.hajda@...el.com>,
Neil Armstrong <neil.armstrong@...aro.org>,
Robert Foss <rfoss@...nel.org>,
Laurent Pinchart <Laurent.pinchart@...asonboard.com>,
Jonas Karlman <jonas@...boo.se>,
Jernej Skrabec <jernej.skrabec@...il.com>,
dri-devel@...ts.freedesktop.org,
Pengutronix Kernel Team <kernel@...gutronix.de>,
Liu Ying <victor.liu@....com>, linux-kernel@...r.kernel.org,
Nick Terrell <terrelln@...com>,
NXP Linux Team <linux-imx@....com>,
Shawn Guo <shawnguo@...nel.org>,
Sascha Hauer <s.hauer@...gutronix.de>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2 1/2] drm/bridge: imx: fix mixed module-builtin object
On Sun, Jun 4, 2023 at 3:57 PM Masahiro Yamada <masahiroy@...nel.org> wrote:
> With CONFIG_DRM_IMX8QM_LDB=m and CONFIG_DRM_IMX8QXP_LDB=y (or vice
> versa), imx-ldb-helper.o is 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").
>
> Split imx-ldb-helper.c into a separate module.
>
> Signed-off-by: Masahiro Yamada <masahiroy@...nel.org>
> ---
>
> Changes in v2:
> - Add a separate module instead of making the functions static inline
>
> drivers/gpu/drm/bridge/imx/Kconfig | 5 +++++
> drivers/gpu/drm/bridge/imx/Makefile | 5 +++--
> drivers/gpu/drm/bridge/imx/imx-ldb-helper.c | 20 ++++++++++++++++++++
> 3 files changed, 28 insertions(+), 2 deletions(-)
[...]
Reviewed-by: Liu Ying <victor.liu@....com>
Powered by blists - more mailing lists