Guenter Roeck 6d827fbcc3 i8k: Fix non-SMP operation
Commit f36fdb9f0266 (i8k: Force SMM to run on CPU 0) adds support
for multi-core CPUs to the driver. Unfortunately, that causes it
to fail loading if compiled without SMP support, at least on
32 bit kernels. Kernel log shows "i8k: unable to get SMM Dell
signature", and function i8k_smm is found to return -EINVAL.

Testing revealed that the culprit is the missing return value check
of set_cpus_allowed_ptr.

Fixes: f36fdb9f0266 (i8k: Force SMM to run on CPU 0)
Reported-by: Jim Bos <jim876@xs4all.nl>
Tested-by: Jim Bos <jim876@xs4all.nl>
Cc: stable@vger.kernel.org # 3.14+
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Cc: Andreas Mohr <andi@lisas.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-09 16:45:36 -07:00
..
2014-05-06 13:05:00 -07:00
2014-04-16 14:31:13 -07:00
2014-06-03 23:12:27 +02:00
2013-05-05 00:11:29 -04:00
2013-02-22 23:31:31 -05:00
2013-02-22 23:31:31 -05:00
2013-05-05 00:12:29 -04:00
2013-05-05 00:12:29 -04:00
2014-07-09 16:45:36 -07:00
2014-04-16 14:21:06 -07:00
2013-12-18 16:39:54 -08:00
2012-11-21 12:55:19 -08:00
2011-03-31 11:26:23 -03:00
2013-12-19 15:10:49 +01:00
2013-02-22 23:31:31 -05:00
2012-03-28 18:30:03 +01:00
2012-10-07 07:22:32 -07:00
2013-02-22 23:31:31 -05:00
2011-01-10 08:51:44 -08:00
2013-02-22 23:31:31 -05:00
2013-10-16 12:36:10 -07:00
2014-04-16 14:21:06 -07:00