RE: [PATCH v3 1/3] hwrng: cctrng - Add dependency on OF

From: Hadar Gat
Date: Thu Apr 30 2020 - 04:26:27 EST



> From: linux-crypto-owner@xxxxxxxxxxxxxxx <linux-crypto-
> owner@xxxxxxxxxxxxxxx> On Behalf Of Herbert Xu
>
> On Thu, Apr 30, 2020 at 07:39:14AM +0000, Hadar Gat wrote:
> >
> > Yes, it builds, but it is useless.
>
> But that's the whole point of COMPILE_TEST.

Herbert,
I don't understand if anything need to be fixed before this patch can be applied.
The patch adds dependency on OF, which was missing and is required for the cctrng driver.
(Indeed cctrng compilation passed also without CONFIG_OF because of the empty implementation of of_property_read*() functions that simply returns -ENOSYS.)

Hadar