Message ID | 20230824080352.98945-1-jiapeng.chong@linux.alibaba.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp995895vqm; Thu, 24 Aug 2023 02:30:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHNokCxu1EpiStNEnrtDD77uDO4NLKe2+i19XtKrrMZ6q0VLA96/1LET2db/UTGTXcfY2CF X-Received: by 2002:a05:6870:524b:b0:1c8:c37d:5e65 with SMTP id o11-20020a056870524b00b001c8c37d5e65mr20054295oai.11.1692869433883; Thu, 24 Aug 2023 02:30:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692869433; cv=none; d=google.com; s=arc-20160816; b=GasmSvTGZFSO/bgzMdtXQFrJPjo+q77SAasrapfECVWIvwD+3AcBtrqJDROx4bJvBn YaP/ZZy+91CUB+mZ6l2KyfxEtOZSs7sH95xg5S3Q2cUJGobovzb21nOSqD2evym8+XcB lrresNoZLiiriCZk8OgJRrTjZNVJDJ5k8keS7qLiduM5zCwSJ3nDCAg/XsXNq6+rO6TF Tf/iGqyR5faDf3FylTYJiggQsu14VBmqzSslIw+t6xPQS9FPZEpb/5rpX3aNsv0HZAeU pl+0ai7R4GQbIbIiYoTEo9cXqCNKbe2vMTXP4RywL7NFlyYx1LkHDhB+8+PIBMgfo1VY fi0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=7q0Hr/1MMlEWBCSraA0+hMlQHTI6BMaOn47nr1LPdlY=; fh=5HPZBFnLS4mHMYrvF/gCSBkgQ/QoRQqOwFZH54OWPgg=; b=b9oATlXBkh2ztJcRHuNNWKPNs/ffMhmTVUkvyF+8CkzH9wUotnMeiNWIPtJS91Ex8O DsTpaaW93fhme/d9ZjUBdInL5imMF04V+YLnWRaDyuq1hGTsCq5oPxBMvhH8fDSPwnnO Ej2k424zXP3WKKVi3OrZfQ2xxTRKrS0lmH0IxTKnn8ClzpKYwWhFk6XlZ3UqXJykI6at a2cf07xKjz0qiubG7vHNQQnsATcPm+HBirJi5bW26BQEZr08wnRebMiXnPOxuZKWDQKD Ale3sSb652W9qrWzxrKfx9eme0PAYKTIe7rZwOZaN6Kh+9OYZrI83D4ceAL7pJqsJ1eO GKXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l5-20020a17090a850500b00268149f78fdsi1608182pjn.147.2023.08.24.02.30.17; Thu, 24 Aug 2023 02:30:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240454AbjHXIFl (ORCPT <rfc822;kjyul0303@gmail.com> + 99 others); Thu, 24 Aug 2023 04:05:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240512AbjHXIF2 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 24 Aug 2023 04:05:28 -0400 Received: from out30-100.freemail.mail.aliyun.com (out30-100.freemail.mail.aliyun.com [115.124.30.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 692881729; Thu, 24 Aug 2023 01:04:55 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=14;SR=0;TI=SMTPD_---0VqT5ls6_1692864233; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VqT5ls6_1692864233) by smtp.aliyun-inc.com; Thu, 24 Aug 2023 16:04:02 +0800 From: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> To: kys@microsoft.com Cc: haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com, tglx@linutronix.de, mingo@redhat.com, bp@alien8.de, dave.hansen@linux.intel.com, x86@kernel.org, hpa@zytor.com, linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org, Jiapeng Chong <jiapeng.chong@linux.alibaba.com>, Abaci Robot <abaci@linux.alibaba.com> Subject: [PATCH] x86/hyperv: Remove duplicate include Date: Thu, 24 Aug 2023 16:03:52 +0800 Message-Id: <20230824080352.98945-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1775102259359870418 X-GMAIL-MSGID: 1775102259359870418 |
Series |
x86/hyperv: Remove duplicate include
|
|
Commit Message
Jiapeng Chong
Aug. 24, 2023, 8:03 a.m. UTC
./arch/x86/hyperv/ivm.c: asm/sev.h is included more than once.
./arch/x86/hyperv/ivm.c: asm/coco.h is included more than once.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6212
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
arch/x86/hyperv/ivm.c | 2 --
1 file changed, 2 deletions(-)
Comments
On Thu, Aug 24, 2023 at 04:03:52PM +0800, Jiapeng Chong wrote: > ./arch/x86/hyperv/ivm.c: asm/sev.h is included more than once. > ./arch/x86/hyperv/ivm.c: asm/coco.h is included more than once. > > Reported-by: Abaci Robot <abaci@linux.alibaba.com> > Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6212 > Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Applied to hyperv-next, thanks!
diff --git a/arch/x86/hyperv/ivm.c b/arch/x86/hyperv/ivm.c index 1448c6338971..55d43415a2fd 100644 --- a/arch/x86/hyperv/ivm.c +++ b/arch/x86/hyperv/ivm.c @@ -18,9 +18,7 @@ #include <asm/mshyperv.h> #include <asm/hypervisor.h> #include <asm/mtrr.h> -#include <asm/coco.h> #include <asm/io_apic.h> -#include <asm/sev.h> #include <asm/realmode.h> #include <asm/e820/api.h> #include <asm/desc.h>