From: Joe Thornber Date: Wed, 28 Jan 2015 12:07:46 +0000 (+0000) Subject: dm cache: fix missing ERR_PTR returns and handling X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~211^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=766a78882ddf79b162243649d7dfdbac1fb6fb88;p=pandora-kernel.git dm cache: fix missing ERR_PTR returns and handling Commit 9b1cc9f251 ("dm cache: share cache-metadata object across inactive and active DM tables") mistakenly ignored the use of ERR_PTR returns. Restore missing IS_ERR checks and ERR_PTR returns where appropriate. Reported-by: Dan Carpenter Signed-off-by: Joe Thornber Signed-off-by: Mike Snitzer Cc: stable@vger.kernel.org --- Reading git-diff-tree failed