From: Naresh Kamboju <naresh.kamboju@linaro.org>
To: pbonzini@redhat.com, kvm@vger.kernel.org
Cc: lkft-triage@lists.linaro.org, Naresh Kamboju <naresh.kamboju@linaro.org>
Subject: [kvm-unit-tests PATCH] x86: fix syntax error
Date: Thu, 13 Jun 2019 16:06:41 +0100 [thread overview]
Message-ID: <20190613150641.4304-1-naresh.kamboju@linaro.org> (raw)
This patch fixes this build error,
kvm-unit-tests/lib/x86/processor.h:497:45: error: expected ‘)’ before ‘;’ token
return !!((cpuid(0x80000001).d & (1 << 20));
~ ^
)
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
---
lib/x86/processor.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/x86/processor.h b/lib/x86/processor.h
index 0a65808..823d65d 100644
--- a/lib/x86/processor.h
+++ b/lib/x86/processor.h
@@ -494,7 +494,7 @@ static inline int has_spec_ctrl(void)
static inline int cpu_has_efer_nx(void)
{
- return !!((cpuid(0x80000001).d & (1 << 20));
+ return !!((cpuid(0x80000001).d & (1 << 20)));
}
#endif
--
2.18.0
next reply other threads:[~2019-06-13 15:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-13 15:06 Naresh Kamboju [this message]
2019-06-17 19:39 ` [kvm-unit-tests PATCH] x86: fix syntax error Nadav Amit
2019-06-18 1:56 ` Naresh Kamboju
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=20190613150641.4304-1-naresh.kamboju@linaro.org \
--to=naresh.kamboju@linaro.org \
--cc=kvm@vger.kernel.org \
--cc=lkft-triage@lists.linaro.org \
--cc=pbonzini@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.