[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e255d01b-ecd7-8386-e99e-b3226dac27c4@rasmusvillemoes.dk>
Date: Tue, 29 Oct 2019 12:43:24 +0100
From: Rasmus Villemoes <linux@...musvillemoes.dk>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Luc Van Oostenryck <luc.vanoostenryck@...il.com>,
Dan Carpenter <dan.carpenter@...cle.co>,
linux-sparse@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: detecting misuse of of_get_property
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
Powered by blists - more mailing lists