Re: qcom :apq8016-sbc.dtsi:412.21-414.5: ERROR (duplicate_label): /soc/codec: Duplicate label 'lpass_codec' on /soc/codec and /soc@0/codec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

On Wed, 24 Nov 2021 at 16:52, Greg Kroah-Hartman
<gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>
> On Wed, Nov 24, 2021 at 03:30:09PM +0530, Naresh Kamboju wrote:
> > Regression found on arm64 gcc-11 builds
> > Following build warnings / errors reported on stable-rc 5.4.
> >
> > metadata:
> >     git_describe: v5.4.161-99-g60345e6d23ca
> >     git_repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
> >     git_short_log: 60345e6d23ca (\"Linux 5.4.162-rc1\")
> >     target_arch: arm64
> >     toolchain: gcc-11
> >
> > build error :
> > --------------
> > builds/linux/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi:412.21-414.5:
> > ERROR (duplicate_label): /soc/codec: Duplicate label 'lpass_codec' on
> > /soc/codec and /soc@0/codec
> > ERROR: Input tree has errors, aborting (use -f to force output)
> > make[3]: *** [scripts/Makefile.lib:285:
> > arch/arm64/boot/dts/qcom/apq8016-sbc.dtb] Error 2

> I can not figure out what commit caused this problem.  Any pointers
> would be appreciated...

The bisect tool pointed to,

b979ffa8bbd6e4c33df7f3e7ac3d63f2234c023c is the first bad commit
commit b979ffa8bbd6e4c33df7f3e7ac3d63f2234c023c
Author: Stephan Gerhold <stephan@xxxxxxxxxxx>
Date:   Tue Sep 21 17:21:18 2021 +0200

    arm64: dts: qcom: msm8916: Add unit name for /soc node

    [ Upstream commit 7a62bfebc8c94bdb6eb8f54f49889dc6b5b79601 ]

    This fixes the following warning when building with W=1:
    Warning (unit_address_vs_reg): /soc: node has a reg or ranges property,
    but no unit name

    Signed-off-by: Stephan Gerhold <stephan@xxxxxxxxxxx>
    Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
    Signed-off-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
    Link: https://lore.kernel.org/r/20210921152120.6710-1-stephan@xxxxxxxxxxx
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

 arch/arm64/boot/dts/qcom/msm8916.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Naresh



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux