]> git.karo-electronics.de Git - karo-tx-linux.git/commit
revert mm/vmalloc.c: emit the failure message before return
authorWanpeng Li <liwanp@linux.vnet.ibm.com>
Tue, 5 Nov 2013 05:55:34 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:34 +0000 (16:55 +1100)
commiteb4a3e61ad527d6761b3b35c982ae01e21aa8cf7
treefec2d77b8c24bc100e1ed23af067b1c3987e1d6b
parenta76cbe5b7f8355efa553d7e3477beb770720ea1b
revert mm/vmalloc.c: emit the failure message before return

Don't warn twice in __vmalloc_area_node and __vmalloc_node_range if
__vmalloc_area_node allocation failure.  This patch reverts commit
46c001a2 ("mm/vmalloc.c: emit the failure message before return").

Signed-off-by: Wanpeng Li <liwanp@linux.vnet.ibm.com>
Reviewed-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Mitsuo Hayasaka <mitsuo.hayasaka.hu@hitachi.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/vmalloc.c