From: Toshi Kani Date: Mon, 8 Jul 2013 23:00:41 +0000 (-0700) Subject: mm/memory_hotplug.c: fix return value of online_pages() X-Git-Tag: v3.11-rc1~67^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a1be15097a5f5ee8cbaf7cf0a55146363db0e4d;p=pandora-kernel.git mm/memory_hotplug.c: fix return value of online_pages() online_pages() is called from memory_block_action() when a user requests to online a memory block via sysfs. This function needs to return a proper error value in case of error. Signed-off-by: Toshi Kani Cc: Yasuaki Ishimatsu Cc: Tang Chen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed