[PATCH v2] spi: deal with a compile warning

Mark Brown broonie at kernel.org
Thu Jul 3 05:50:30 EST 2014


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20140702/b1f22873/attachment.sig>


More information about the Linuxppc-dev mailing list