[PATCH] driver/base/memory.c: handle errors properly
authorAndrew Morton <akpm@osdl.org>
Thu, 7 Dec 2006 04:37:29 +0000 (20:37 -0800)
committerLinus Torvalds <torvalds@woody.osdl.org>
Thu, 7 Dec 2006 16:39:36 +0000 (08:39 -0800)
commit28ec24e23229ae3d333f8d7f0e6b31fa8ea7bf46
tree92b1a54da4d5e4982540b7dffa9525f75005f92a
parent0d75565f1e8f098b80a34ccf70db450f60618ec8
[PATCH] driver/base/memory.c: handle errors properly

Do proper error-checking and propagation in drivers/base/memory.c, hence fix
__must_check warnings.

Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/base/memory.c