On Thu, Nov 5, 2015 at 5:02 PM, LABBE Corentin
wrote:
> of_match_device could return NULL, and so cause a NULL pointer
> dereference later at line 199:
> priv->flags = of_id->data;
>
> Reported-by: coverity (CID 1324140)
> Signed-off-by: LABBE Corentin
Patch applied with Alexandre's review
On Thu, Nov 5, 2015 at 5:02 PM, LABBE Corentin
wrote:
> of_match_device could return NULL, and so cause a NULL pointer
> dereference later at line 199:
> priv->flags = of_id->data;
>
> Reported-by: coverity (CID 1324140)
> Signed-off-by: LABBE Corentin
On Fri, Nov 6, 2015 at 1:02 AM, LABBE Corentin
wrote:
> of_match_device could return NULL, and so cause a NULL pointer
> dereference later at line 199:
> priv->flags = of_id->data;
>
> Reported-by: coverity (CID 1324140)
> Signed-off-by: LABBE Corentin
Same (optional) suggestion as the
On Fri, Nov 6, 2015 at 1:02 AM, LABBE Corentin
wrote:
> of_match_device could return NULL, and so cause a NULL pointer
> dereference later at line 199:
> priv->flags = of_id->data;
>
> Reported-by: coverity (CID 1324140)
> Signed-off-by: LABBE Corentin
of_match_device could return NULL, and so cause a NULL pointer
dereference later at line 199:
priv->flags = of_id->data;
Reported-by: coverity (CID 1324140)
Signed-off-by: LABBE Corentin
---
drivers/gpio/gpio-syscon.c | 3 +++
1 file changed, 3 insertions(+)
diff --git
of_match_device could return NULL, and so cause a NULL pointer
dereference later at line 199:
priv->flags = of_id->data;
Reported-by: coverity (CID 1324140)
Signed-off-by: LABBE Corentin
---
drivers/gpio/gpio-syscon.c | 3 +++
1 file changed, 3 insertions(+)
diff
6 matches
Mail list logo