Re: [PATCH] Input: tegra-kbc - Fix possible NULL derefrence.

2017-01-27 Thread Thierry Reding
On Fri, Jan 27, 2017 at 04:12:36PM +0530, Shailendra Verma wrote: > of_match_device could return NULL, and so cause a NULL pointer > dereference later. > > Signed-off-by: Shailendra Verma > --- > drivers/input/keyboard/tegra-kbc.c |5 + > 1 file changed, 5

Re: [PATCH] Input: tegra-kbc - Fix possible NULL derefrence.

2017-01-27 Thread Thierry Reding
On Fri, Jan 27, 2017 at 04:12:36PM +0530, Shailendra Verma wrote: > of_match_device could return NULL, and so cause a NULL pointer > dereference later. > > Signed-off-by: Shailendra Verma > --- > drivers/input/keyboard/tegra-kbc.c |5 + > 1 file changed, 5 insertions(+) I think that's

[PATCH] Input: tegra-kbc - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
of_match_device could return NULL, and so cause a NULL pointer dereference later. Signed-off-by: Shailendra Verma --- drivers/input/keyboard/tegra-kbc.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/input/keyboard/tegra-kbc.c

[PATCH] Input: tegra-kbc - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
of_match_device could return NULL, and so cause a NULL pointer dereference later. Signed-off-by: Shailendra Verma --- drivers/input/keyboard/tegra-kbc.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/input/keyboard/tegra-kbc.c b/drivers/input/keyboard/tegra-kbc.c index