Re: [PATCH v2] spi: deal with a compile warning

2014-07-02 Thread Mark Brown
On Thu, Jun 26, 2014 at 11:26:43AM +0800, Zhao Qiang wrote: > ret is unused when CONFIG_FSL_SOC defined, > so return ret instead of -ENOMEM when the > kzalloc fails to avoid it. Applied, thanks. signature.asc Description: Digital signature ___ Linuxppc

[PATCH v2] spi: deal with a compile warning

2014-06-25 Thread Zhao Qiang
ret is unused when CONFIG_FSL_SOC defined, so return ret instead of -ENOMEM when the kzalloc fails to avoid it. Signed-off-by: Zhao Qiang --- Changes for v2: -return ret instead of -ENOMEM when the kzalloc fails drivers/spi/spi-fsl-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deleti