From: Jarkko Nikula Date: Thu, 4 Dec 2014 09:02:25 +0000 (+0200) Subject: spi: core: Do not mangle error code from kthread_run() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~128^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98a8f5a0538fe1a02a6a73a3451f1c093e30bdfc;p=pandora-kernel.git spi: core: Do not mangle error code from kthread_run() kthread_run() could return ERR_PTR(-EINTR) from kthread_create_on_node(). Return the actual error code in spi_init_queue() instead of mangling it to -ENOMEM. Signed-off-by: Jarkko Nikula Signed-off-by: Mark Brown --- Reading git-diff-tree failed