From: Anton Vorontsov Date: Tue, 19 Jun 2012 02:15:52 +0000 (-0700) Subject: pstore/ram_core: Proper checking for post_init errors (e.g. improper ECC size) X-Git-Tag: v3.6-rc1~100^2~651 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=beeb94321a7a6d493b4a06ff0cd771f09f41c35e;p=pandora-kernel.git pstore/ram_core: Proper checking for post_init errors (e.g. improper ECC size) We will implement variable-sized ECC buffers soon, so post_init routine might fail much more likely, so we'd better check for its errors. To make error handling simple, modify persistent_ram_free() to it be safe at all times. Signed-off-by: Anton Vorontsov Acked-by: Kees Cook Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed