Pan Bian 0de2788447 EDAC, amd64: Fix improper return value
When the call to zalloc_cpumask_var() fails, returning "false" seems
improper. The real value of macro "false" is 0, and 0 means no error.
Return -ENOMEM instead.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=189071

Signed-off-by: Pan Bian <bianpan2016@163.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1480831638-5361-1-git-send-email-bianpan201604@163.com
Signed-off-by: Borislav Petkov <bp@suse.de>
2016-12-04 10:51:42 +01:00
..
2016-11-01 16:56:05 -06:00
2016-10-06 17:13:54 -07:00
2016-10-10 10:58:22 +02:00
2016-10-11 12:52:41 -07:00
2016-10-21 21:40:29 +02:00
2016-09-27 12:33:47 +02:00
2016-11-05 11:15:09 -07:00
2016-10-07 21:23:40 -07:00
2016-10-07 08:35:35 -07:00
2016-10-29 11:19:02 -07:00
2016-11-05 10:52:29 -07:00
2016-10-07 21:23:40 -07:00
2016-11-05 11:11:31 -07:00
2016-10-19 11:45:06 -07:00
2016-10-06 17:03:49 -07:00
2016-10-14 13:13:44 -07:00
2016-11-05 11:28:21 -07:00
2016-10-14 11:07:42 -07:00
2016-11-05 11:15:09 -07:00
2016-10-19 08:39:47 -07:00
2016-10-24 19:52:24 -07:00