Unverified Commit 0204aabd authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents e04603f8 bfd6dd73
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1154,7 +1154,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;
	}
@@ -1185,7 +1185,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;
	}