summaryrefslogtreecommitdiffstats
path: root/drivers/vfio
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2012-09-27 12:30:18 -0700
committerTony Luck <tony.luck@intel.com>2012-09-27 12:30:18 -0700
commit39c9a4ab2b91bff26801c86e423ef07fb705b3c0 (patch)
tree6923d05bc739e98c6af4f5e97d96c2aa4905c410 /drivers/vfio
parent0967237ca6521c63822340138e4d62ecf8a3d173 (diff)
downloadop-kernel-dev-39c9a4ab2b91bff26801c86e423ef07fb705b3c0.zip
op-kernel-dev-39c9a4ab2b91bff26801c86e423ef07fb705b3c0.tar.gz
[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 <yongjun_wei@trendmicro.com.cn> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'drivers/vfio')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud