Re: [PATCH] of: unittest: make gpio overlay test dependent on CONFIG_OF_GPIO

From: Rob Herring
Date: Mon Mar 02 2020 - 12:34:14 EST


On Fri, Feb 28, 2020 at 8:10 AM Frank Rowand <frowand.list@xxxxxxxxx> wrote:
>
> Hi Rob,
>
> On 2/27/20 10:16 PM, frowand.list@xxxxxxxxx wrote:
> > From: Frank Rowand <frank.rowand@xxxxxxxx>
> >
> > 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.
>
> Should I have used your 'next' or 'for-next' branch for the commit id:
>
> Fixes: f4056e705b2e ("of: unittest: add overlay gpio test to catch gpio hog problem")

Yes, I added it.

Rob