Re: [patch] FMC: fix error handling in probe() function

From: Alessandro Rubini
Date: Thu Jun 20 2013 - 10:10:00 EST

> The call to kzalloc() wasn't checked.
> The dev_info() message dereferenced freed memory on error.
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Acked-by: Alessandro Rubini <rubini@xxxxxxxxx>


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at