Unverified Commit 5809e900 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents 89624e1e e24f6fbc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1089,7 +1089,7 @@ static long pkey_unlocked_ioctl(struct file *filp, unsigned int cmd,
		if (rc)
			break;
		if (copy_to_user(ucs, &kcs, sizeof(kcs)))
			return -EFAULT;
			rc = -EFAULT;
		memzero_explicit(&kcs, sizeof(kcs));
		break;
	}
@@ -1120,7 +1120,7 @@ static long pkey_unlocked_ioctl(struct file *filp, unsigned int cmd,
		if (rc)
			break;
		if (copy_to_user(ucp, &kcp, sizeof(kcp)))
			return -EFAULT;
			rc = -EFAULT;
		memzero_explicit(&kcp, sizeof(kcp));
		break;
	}