Re: [alsa-devel] [PATCH] Sound: soc: samsung - Fix possible NULL derefrence.

2017-01-30 Thread Sylwester Nawrocki
On 01/30/2017 06:04 AM, Shailendra Verma wrote: > of_device_get_match_data could return NULL, and so can cause > a NULL pointer dereference later. > > Signed-off-by: Shailendra Verma > --- > sound/soc/samsung/i2s.c |7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git

[PATCH] Sound: soc: samsung - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
of_device_get_match_data could return NULL, and so can cause a NULL pointer dereference later. Signed-off-by: Shailendra Verma --- sound/soc/samsung/i2s.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c index 7825bff.