From: huzhi001@208suo.com
To: seanjc@google.com, pbonzini@redhat.com, tglx@linutronix.de,
mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com,
x86@kernel.org
Cc: hpa@zytor.com, kvm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] SVM: Fix warnings in svm.h
Date: Wed, 12 Jul 2023 21:39:24 +0800 [thread overview]
Message-ID: <e541a2b2fe55ade4277f34fa64953683@208suo.com> (raw)
In-Reply-To: <tencent_B97FAD99B25D9BCC5AB9EA89BA04061D7B07@qq.com>
The following checkpatch warnings are removed:
WARNING: Prefer __packed over __attribute__((__packed__))
Signed-off-by: ZhiHu <huzhi001@208suo.com>
---
arch/x86/include/asm/svm.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/include/asm/svm.h b/arch/x86/include/asm/svm.h
index e7c7379d6ac7..7ecebccf8a83 100644
--- a/arch/x86/include/asm/svm.h
+++ b/arch/x86/include/asm/svm.h
@@ -119,7 +119,7 @@ enum {
};
-struct __attribute__ ((__packed__)) vmcb_control_area {
+struct __packed vmcb_control_area {
u32 intercepts[MAX_INTERCEPT];
u32 reserved_1[15 - MAX_INTERCEPT];
u16 pause_filter_thresh;
next parent reply other threads:[~2023-07-12 13:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <tencent_B97FAD99B25D9BCC5AB9EA89BA04061D7B07@qq.com>
2023-07-12 13:39 ` huzhi001 [this message]
2023-07-12 13:59 ` Peter Zijlstra
2023-07-12 15:05 ` Randy Dunlap
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=e541a2b2fe55ade4277f34fa64953683@208suo.com \
--to=huzhi001@208suo.com \
--cc=bp@alien8.de \
--cc=dave.hansen@linux.intel.com \
--cc=hpa@zytor.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pbonzini@redhat.com \
--cc=seanjc@google.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/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®