On Fri, Nov 20, 2015 at 10:22 AM, Geert Uytterhoeven
wrote:
> On Wed, Nov 11, 2015 at 9:27 PM, LABBE Corentin
> wrote:
>> of_match_device could return NULL, and so cause a NULL pointer
>> dereference later at line 132:
>> priv->flags = (uintptr_t) of_id->data;
>>
>> Reported-by: coverity (CID 132
On Wed, Nov 11, 2015 at 9:27 PM, LABBE Corentin
wrote:
> of_match_device could return NULL, and so cause a NULL pointer
> dereference later at line 132:
> priv->flags = (uintptr_t) of_id->data;
>
> Reported-by: coverity (CID 1324141)
This is a DT-only driver, hence this cannot happen?
> Signed-o
On Wed, Nov 11, 2015 at 9:27 PM, LABBE Corentin
wrote:
> of_match_device could return NULL, and so cause a NULL pointer
> dereference later at line 132:
> priv->flags = (uintptr_t) of_id->data;
>
> Reported-by: coverity (CID 1324141)
> Signed-off-by: LABBE Corentin
Patch applied.
Yours,
Linus
of_match_device could return NULL, and so cause a NULL pointer
dereference later at line 132:
priv->flags = (uintptr_t) of_id->data;
Reported-by: coverity (CID 1324141)
Signed-off-by: LABBE Corentin
---
drivers/gpio/gpio-74xx-mmio.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
d
4 matches
Mail list logo