Re: [PATCH] regulator: Drop obsolete dependencies on COMPILE_TEST

From: Mark Brown
Date: Thu Nov 24 2022 - 11:52:34 EST


On Thu, Nov 24, 2022 at 02:47:08PM +0100, Jean Delvare wrote:

> It is actually better to always build such drivers with OF enabled,
> so that the test builds are closer to how each driver will actually be
> built on its intended target. Building them without OF may not test
> much as the compiler will optimize out potentially large parts of the
> code. In the worst case, this could even pop false positive warnings.

Having the ability to build without OF doesn't preclude testing with OF
of course.

Attachment: signature.asc
Description: PGP signature