[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <32efc1e8-7c00-3550-4a39-af343397013a@canonical.com>
Date: Wed, 22 Sep 2021 16:10:21 +0200
From: Krzysztof Kozlowski <krzysztof.kozlowski@...onical.com>
To: Christophe Leroy <christophe.leroy@...roup.eu>,
Michael Ellerman <mpe@...erman.id.au>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>,
Rob Herring <robh+dt@...nel.org>,
Frank Rowand <frowand.list@...il.com>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Subject: Re: [RESEND PATCH 1/2] powerpc/powermac: add missing
g5_phy_disable_cpu1() declaration
On 22/09/2021 15:52, Christophe Leroy wrote:
>
>
> Le 22/09/2021 à 10:44, Krzysztof Kozlowski a écrit :
>> g5_phy_disable_cpu1() is used outside of platforms/powermac/feature.c,
>> so it should have a declaration to fix W=1 warning:
>>
>> arch/powerpc/platforms/powermac/feature.c:1533:6:
>> error: no previous prototype for ‘g5_phy_disable_cpu1’ [-Werror=missing-prototypes]
>
>
> While you are at it, can you clean it up completely, that is remove the
> declaration in arch/powerpc/platforms/powermac/smp.c ?
>
Sure, I'll send a v2. Thanks for pointing this out.
Best regards,
Krzysztof
Powered by blists - more mailing lists