Merge tag 'thermal-v5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thermal...
[linux-2.6-microblaze.git] / include / linux / regset.h
index bf02437..46d6ae6 100644 (file)
@@ -320,7 +320,7 @@ static inline int user_regset_copyout_zero(unsigned int *pos,
                if (*kbuf) {
                        memset(*kbuf, 0, copy);
                        *kbuf += copy;
-               } else if (__clear_user(*ubuf, copy))
+               } else if (clear_user(*ubuf, copy))
                        return -EFAULT;
                else
                        *ubuf += copy;