Subject: Re: linux-next: build failure after merge of the tegra tree

From: Thierry Reding <[email-masked]>
Date: Tue, 12 May 2020 23:12:07 +0200

On Mon, May 11, 2020 at 08:51:14AM +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the tegra tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> ERROR: modpost: "host1x_driver_register_full" [drivers/staging/media/tegra-video/tegra-video.ko] undefined!
> ERROR: modpost: "host1x_device_exit" [drivers/staging/media/tegra-video/tegra-video.ko] undefined!
> ERROR: modpost: "host1x_client_unregister" [drivers/staging/media/tegra-video/tegra-video.ko] undefined!
> ERROR: modpost: "host1x_driver_unregister" [drivers/staging/media/tegra-video/tegra-video.ko] undefined!
> ERROR: modpost: "host1x_device_init" [drivers/staging/media/tegra-video/tegra-video.ko] undefined!
> ERROR: modpost: "host1x_syncpt_free" [drivers/staging/media/tegra-video/tegra-video.ko] undefined!
> ERROR: modpost: "host1x_syncpt_request" [drivers/staging/media/tegra-video/tegra-video.ko] undefined!
> ERROR: modpost: "host1x_client_register" [drivers/staging/media/tegra-video/tegra-video.ko] undefined!
> 
> Caused by commit
> 
>   423d10a99b30 ("media: tegra: Add Tegra210 Video input driver")
> 
> I removed CONFIG_COMPILE_TEST for this driver for today.

Thanks, I've now added a patch that drops the alternative dependency on
COMPILE_TEST because TEGRA_HOST1X doesn't have stubs for any of these
exported functions.

Thierry