Re: [PATCH] Dma - Fix possible NULL derefrence.

2017-01-30 Thread Vinod Koul
On Fri, Jan 27, 2017 at 04:55:59PM +0530, Shailendra Verma wrote: > of_match_device could return NULL, and so cause a NULL > pointer dereference later. Why is this tagged Dma - Please look at he git log for the file before coming up with random tags Worst part, this patch fails to apply, so

[PATCH] Dma - 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/dma/mv_xor.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c index 23f7528..c25b3bb 100644 --- a/dr