Re: detecting misuse of of_get_property

From: Rasmus Villemoes
Date: Tue Oct 29 2019 - 07:43:30 EST


On 29/10/2019 11.50, Dan Carpenter wrote:
> This should probably work?

I haven't tested it, but yes, something like that. Can you also do the
case of struct property::value, i.e. handling

struct property *p = ...;
u32 *v = p->value;

Thanks,
Rasmus