Re: Linux 5.2-rc1 - module name conflict

From: Alexander Kapshuk
Date: Tue May 21 2019 - 04:15:06 EST


On Tue, May 21, 2019 at 4:01 AM Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> I am seeing the following warning on Linux 5.2-rc1
>
> warning: same basename if the following are built as modules:
> drivers/regulator/88pm800.ko
> drivers/mfd/88pm800.ko
>
> My config has:
>
> CONFIG_MFD_88PM800=m
>
> CONFIG_REGULATOR_88PM800=m
>
> I don't recall seeing this warning before.

Commit 3a48a91901c516a46a3406ea576798538a8d94d2 introduced a new,
script scripts/modules-check.sh, that issued the warning in question.
See https://lkml.org/lkml/2019/5/17/419.

>
> Anyway just to let you know that there is a conflict in module naming.
>
> thanks,
> -- Shuah