On Thu, Sep 10, 2015 at 05:24:58PM +0530, Sudip Mukherjee wrote:
> The return pointer from dgap_getword() is used in strcmp() where it is
> dereferenced. But dgap_getword() can return NULL.
> Lets put a check there and return 0 as error.
>
> Signed-off-by: Sudip Mukherjee
> ---
> drivers/staging
The return pointer from dgap_getword() is used in strcmp() where it is
dereferenced. But dgap_getword() can return NULL.
Lets put a check there and return 0 as error.
Signed-off-by: Sudip Mukherjee
---
drivers/staging/dgap/dgap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/stag