Re: [PATCH 2/2] pwm: Enable compile testing for some of drivers

From: Krzysztof Kozlowski
Date: Tue Jan 07 2020 - 07:15:19 EST


On Tue, Jan 07, 2020 at 01:09:26PM +0100, Uwe Kleine-KÃnig wrote:
> > > (Oh, HAS_DMA is defined using "depends on !NO_DMA" + "default y".
> > > NO_DMA has three different definitions. Two of them (in
> > > drivers/crypto/ccree/cc_hw_queue_defs.h and arch/arm/include/asm/dma.h)
> > > unrelated.)
> >
> > Yes, HAS_DMA is the second missing piece for UM.
>
> So something like:
>
> # Usermode linux doesn't provide HAS_DMA and HAS_IOMEM. To not have to
> # clutter most dependencies with these just exclude UML from compile
> # testing.
>
> as comment for COMPILE_TEST's depend line should be fine, right?
>

I think yes.

Best regards,
Krzysztof