[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y99uzN8lI/U3Jkxb@ravnborg.org>
Date: Sun, 5 Feb 2023 09:54:36 +0100
From: Sam Ravnborg <sam@...nborg.org>
To: Randy Dunlap <rdunlap@...radead.org>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
"David S. Miller" <davem@...emloft.net>,
sparclinux@...r.kernel.org, Kirill Tkhai <tkhai@...dex.ru>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] sparc: allow PM configs for sparc32 COMPILE_TEST
On Sat, Feb 04, 2023 at 04:43:57PM -0800, Randy Dunlap wrote:
> When doing randconfig builds for sparc32 with COMPILE_TEST,
> some (non-Sparc) drivers cause kconfig warnings with the
> Kconfig symbols PM, PM_GENERIC_DOMAINS, or PM_GENERIC_DOMAINS_OF.
>
> This is due to arch/sparc/Kconfig not using the PM Kconfig for
> Sparc32:
>
> if SPARC64
> source "kernel/power/Kconfig"
> endif
>
> Arnd suggested adding "|| COMPILE_TEST" to the conditional,
> instead of trying to track down every driver that selects
> any of these PM symbols.
>
> Fixes the following kconfig warnings:
...
>
> Fixes: bdde6b3c8ba4 ("sparc64: Hibernation support")
> Signed-off-by: Randy Dunlap <rdunlap@...radead.org>
> Suggested-by: Arnd Bergmann <arnd@...db.de>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: sparclinux@...r.kernel.org
> Cc: Kirill Tkhai <tkhai@...dex.ru>
> Cc: Sam Ravnborg <sam@...nborg.org>
Acked-by: Sam Ravnborg <sam@...nborg.org>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
I hope Andrew picks this up.
Sam
Powered by blists - more mailing lists