compat: PTR_RET is backported in RHEL6.7