diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2014-12-04 11:02:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-04 22:42:37 +0000 |
commit | 98a8f5a0538fe1a02a6a73a3451f1c093e30bdfc (patch) | |
tree | 6f64dddd273478beae4bf5e288c163b4fca667ec /fs/inode.c | |
parent | b671358ad7916beb7ca9e5c304ae88afc7da4557 (diff) | |
download | lwn-98a8f5a0538fe1a02a6a73a3451f1c093e30bdfc.tar.gz lwn-98a8f5a0538fe1a02a6a73a3451f1c093e30bdfc.zip |
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 <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/inode.c')
0 files changed, 0 insertions, 0 deletions