Re: [PATCH] spi: pl022: Add missing error check for devm_kzalloc

2014-09-18 Thread Mark Brown
On Thu, Sep 18, 2014 at 12:57:47PM +0530, Kiran Padwal wrote: > Currently this driver is missing a check on the return value of devm_kzalloc, > which would cause a NULL pointer dereference in a OOM situation. Applied, thanks. signature.asc Description: Digital signature

[PATCH] spi: pl022: Add missing error check for devm_kzalloc

2014-09-18 Thread Kiran Padwal
Currently this driver is missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. This patch adds a missing check. Signed-off-by: Kiran Padwal --- drivers/spi/spi-pl022.c |5 + 1 file changed, 5 insertions(+) diff --git

[PATCH] spi: pl022: Add missing error check for devm_kzalloc

2014-09-18 Thread Kiran Padwal
Currently this driver is missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. This patch adds a missing check. Signed-off-by: Kiran Padwal kiran.pad...@smartplayin.com --- drivers/spi/spi-pl022.c |5 + 1 file changed, 5

Re: [PATCH] spi: pl022: Add missing error check for devm_kzalloc

2014-09-18 Thread Mark Brown
On Thu, Sep 18, 2014 at 12:57:47PM +0530, Kiran Padwal wrote: Currently this driver is missing a check on the return value of devm_kzalloc, which would cause a NULL pointer dereference in a OOM situation. Applied, thanks. signature.asc Description: Digital signature