From: Wei Yongjun Date: Thu, 27 Sep 2012 19:30:18 +0000 (-0700) Subject: [IA64] xen: Fix return value check in xencomm_vtop() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~69^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39c9a4ab2b91bff26801c86e423ef07fb705b3c0;p=pandora-kernel.git [IA64] xen: Fix return value check in xencomm_vtop() In case of error, the function follow_page() returns ERR_PTR() or NULL pointer. The NULL test in the error handling should be replaced with IS_ERR_OR_NULL(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun Signed-off-by: Tony Luck --- Reading git-diff-tree failed