2019-09-19 13:58:00

by Qian Cai

[permalink] [raw]
Subject: "arm64: use asm-generic/dma-mapping.h" introduced a kbuild warning

The commit 5489c8e0cf03 ("arm64: use asm-generic/dma-mapping.h") introduced a
kbuild warning,

scripts/Makefile.asm-generic:25: redundant generic-y found in
arch/arm64/include/asm/Kbuild: dma-mapping.h



2019-09-20 19:54:56

by Robin Murphy

[permalink] [raw]
Subject: Re: "arm64: use asm-generic/dma-mapping.h" introduced a kbuild warning

On 20/09/2019 14:18, Qian Cai wrote:
> On Fri, 2019-09-20 at 19:24 +0900, Masahiro Yamada wrote:
>> Hi Qian,
>>
>> On Thu, Sep 19, 2019 at 10:06 PM Qian Cai <[email protected]> wrote:
>>>
>>> The commit 5489c8e0cf03 ("arm64: use asm-generic/dma-mapping.h") introduced a
>>> kbuild warning,
>>>
>>> scripts/Makefile.asm-generic:25: redundant generic-y found in
>>> arch/arm64/include/asm/Kbuild: dma-mapping.h
>>>
>>>
>>
>> Which tree did you test?
>
> It was yesterday's linux-next (next-20190918) with this config [1], but it seems
> gone in today's linux-next.

There was a conflict in dma-mapping.h between the arm64 tree and the
dma-mapping tree (where that commit deleted it) - looks like -next must
have just resolved it the wrong way that day.

Robin.

> [1] https://raw.githubusercontent.com/cailca/linux-mm/master/arm64.config
>
>>
>> I tried the latest Linus tree (, which contains 5489c8e0cf03),
>> but I did not see this warning.
>>
>>
>>
>
> _______________________________________________
> linux-arm-kernel mailing list
> [email protected]
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>

2019-09-21 13:53:21

by Masahiro Yamada

[permalink] [raw]
Subject: Re: "arm64: use asm-generic/dma-mapping.h" introduced a kbuild warning

Hi Qian,

On Thu, Sep 19, 2019 at 10:06 PM Qian Cai <[email protected]> wrote:
>
> The commit 5489c8e0cf03 ("arm64: use asm-generic/dma-mapping.h") introduced a
> kbuild warning,
>
> scripts/Makefile.asm-generic:25: redundant generic-y found in
> arch/arm64/include/asm/Kbuild: dma-mapping.h
>
>

Which tree did you test?

I tried the latest Linus tree (, which contains 5489c8e0cf03),
but I did not see this warning.



--
Best Regards
Masahiro Yamada

2019-09-21 17:43:51

by Qian Cai

[permalink] [raw]
Subject: Re: "arm64: use asm-generic/dma-mapping.h" introduced a kbuild warning

On Fri, 2019-09-20 at 19:24 +0900, Masahiro Yamada wrote:
> Hi Qian,
>
> On Thu, Sep 19, 2019 at 10:06 PM Qian Cai <[email protected]> wrote:
> >
> > The commit 5489c8e0cf03 ("arm64: use asm-generic/dma-mapping.h") introduced a
> > kbuild warning,
> >
> > scripts/Makefile.asm-generic:25: redundant generic-y found in
> > arch/arm64/include/asm/Kbuild: dma-mapping.h
> >
> >
>
> Which tree did you test?

It was yesterday's linux-next (next-20190918) with this config [1], but it seems
gone in today's linux-next.

[1] https://raw.githubusercontent.com/cailca/linux-mm/master/arm64.config

>
> I tried the latest Linus tree (, which contains 5489c8e0cf03),
> but I did not see this warning.
>
>
>