[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ce8c2ef5-5402-6f1e-890a-1832610d8b0d@infradead.org>
Date: Thu, 27 Feb 2020 20:25:03 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: frowand.list@...il.com, Rob Herring <robh+dt@...nel.org>,
Geert Uytterhoeven <geert+renesas@...der.be>,
pantelis.antoniou@...sulko.com
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Alan Tull <atull@...nel.org>
Subject: Re: [PATCH] of: unittest: make gpio overlay test dependent on
CONFIG_OF_GPIO
On 2/27/20 8:16 PM, frowand.list@...il.com wrote:
> From: Frank Rowand <frank.rowand@...y.com>
>
> Randconfig testing found compile errors in drivers/of/unittest.c if
> CONFIG_GPIOLIB is not set because CONFIG_OF_GPIO depends on
> CONFIG_GPIOLIB. Make the gpio overlay test depend on CONFIG_OF_GPIO.
>
> No code is modified, it is only moved to a different location and
> protected with #ifdef CONFIG_OF_GPIO. An empty
> of_unittest_overlay_gpio() is added in the #else.
>
> Reported-by: Randy Dunlap <rdunlap@...radead.org>
> Signed-off-by: Frank Rowand <frank.rowand@...y.com>
> ---
> drivers/of/unittest.c | 465 ++++++++++++++++++++++++++------------------------
> 1 file changed, 238 insertions(+), 227 deletions(-)
>
Acked-by: Randy Dunlap <rdunlap@...radead.org> # build-tested
Thanks.
--
~Randy
Powered by blists - more mailing lists