From: chenqingyun001@208suo.com
To: maz@kernel.org, oliver.upton@linux.dev, catalin.marinas@arm.com,
will@kernel.org
Cc: kvmarm@lists.linux.dev, linux-kernel@vger.kernel.org,
james.morse@arm.com, suzuki.poulose@arm.com,
yuzenghui@huawei.com
Subject: [PATCH] KVM: arm64:space required before the open parenthesis '('
Date: Fri, 14 Jul 2023 12:44:31 +0800 [thread overview]
Message-ID: <46eb0d5df76c8ac67c752d747b58be55@208suo.com> (raw)
In-Reply-To: <tencent_40330B3E7AF84464D54533700BA6A0EF3F08@qq.com>
To make the code easier and understandable, put a space
before the opening parenthesis to distinguish functions
from parentheses for other purposes. Doing so can also
avoid some potential errors or ambiguities.
Signed-off-by: Qingyun Chen <chenqingyun001@208suo.com>
---
arch/arm64/kvm/inject_fault.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm64/kvm/inject_fault.c
b/arch/arm64/kvm/inject_fault.c
index 0bd93a5f21ce..3cc891c0b292 100644
--- a/arch/arm64/kvm/inject_fault.c
+++ b/arch/arm64/kvm/inject_fault.c
@@ -29,7 +29,7 @@ static void pend_sync_exception(struct kvm_vcpu *vcpu)
* changing context, and the exception itself can be delayed
* until the next entry.
*/
- switch(*vcpu_cpsr(vcpu) & PSR_MODE_MASK) {
+ switch (*vcpu_cpsr(vcpu) & PSR_MODE_MASK) {
case PSR_MODE_EL2h:
case PSR_MODE_EL2t:
kvm_pend_exception(vcpu, EXCEPT_AA64_EL2_SYNC);
parent reply other threads:[~2023-07-14 4:44 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <tencent_40330B3E7AF84464D54533700BA6A0EF3F08@qq.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46eb0d5df76c8ac67c752d747b58be55@208suo.com \
--to=chenqingyun001@208suo.com \
--cc=catalin.marinas@arm.com \
--cc=james.morse@arm.com \
--cc=kvmarm@lists.linux.dev \
--cc=linux-kernel@vger.kernel.org \
--cc=maz@kernel.org \
--cc=oliver.upton@linux.dev \
--cc=suzuki.poulose@arm.com \
--cc=will@kernel.org \
--cc=yuzenghui@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®