From nobody Sat May 18 15:49:36 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=cloud.com ARC-Seal: i=1; a=rsa-sha256; t=1714037007; cv=none; d=zohomail.com; s=zohoarc; b=lGsEOUf3DWF5BS2G/1WU90qpZYkCPoPbchX4kIg8vlIuh6pknA3t2UzdrkcExwRXaZyp/5HfQAkQuekhJHO0VNgUanUmS1sPkKdmRBnxs/wJB7tSdbJmLm0gx5cfuC12rHzRwhqnjkUKOMIQH1k0DwzQyPMke9WIQgUjIy3eK6E= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1714037007; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=BNFk+B76A2WnLE/OrqFoD6eloYSE1lvTItkDQLMAwRM=; b=ZN4ylghcrCDoQstPHuGpCTLJneDsAD3gqXmfdGkeV91IvKS7Duvh5AmkCuOBfcjl0NKHHjfMq2MeyX3Z50x1WnP7MQ5BK4FeYhg7ip0kqCyJbEb38gEYBANNPGH/0t1fE4xXMu66Q3RbnJYFRi75ZBi6tQUDNzhrLfFtm4Aek2I= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 171403700721096.23617834934726; Thu, 25 Apr 2024 02:23:27 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.711960.1112312 (Exim 4.92) (envelope-from ) id 1rzvJq-0004PK-Qc; Thu, 25 Apr 2024 09:23:06 +0000 Received: by outflank-mailman (output) from mailman id 711960.1112312; Thu, 25 Apr 2024 09:23:06 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rzvJq-0004PD-N7; Thu, 25 Apr 2024 09:23:06 +0000 Received: by outflank-mailman (input) for mailman id 711960; Thu, 25 Apr 2024 09:23:05 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1rzvJp-0004P7-7r for xen-devel@lists.xenproject.org; Thu, 25 Apr 2024 09:23:05 +0000 Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [2607:f8b0:4864:20::72b]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 6a462913-02e5-11ef-b4bb-af5377834399; Thu, 25 Apr 2024 11:23:03 +0200 (CEST) Received: by mail-qk1-x72b.google.com with SMTP id af79cd13be357-78efd533a00so49078385a.0 for ; Thu, 25 Apr 2024 02:23:03 -0700 (PDT) Received: from georged-x-u.xenrt.citrite.net ([185.25.67.249]) by smtp.gmail.com with ESMTPSA id ay10-20020a05620a178a00b007908917946csm1720792qkb.72.2024.04.25.02.22.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 02:22:57 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 6a462913-02e5-11ef-b4bb-af5377834399 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.com; s=cloud; t=1714036982; x=1714641782; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BNFk+B76A2WnLE/OrqFoD6eloYSE1lvTItkDQLMAwRM=; b=MWL7a7Y0jHNjV5xIIRP0d9O2v7jb/quYbzzL8VfgbK8n9G/kVTPg8S7zXUYqZC3ird 9w6l82wZACUGj6N0ccrpfXZnLOBflj+gmo7MBLvqjlhv4T1i/vwJpwwV5naQhxd3Cp57 ne5nNL3a5P3if+G7Msnb4QO4XhIUgZYfR1ftw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714036982; x=1714641782; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BNFk+B76A2WnLE/OrqFoD6eloYSE1lvTItkDQLMAwRM=; b=JFc4PU4I4JX8SHz/32yZZUAXW1mqOeO6qQ4/PisjXxe9kwLmk7RkXlBLEKL+dg9CbN ALqpIAR/rZxetHLUKSwlzuuKVeNhb2hGvZBFkLX6GtQnNa8DlKkcYSRNKcEHyFGpBnEf SwVOgtF4ZH7LEvxMSaeS8UbECTtFkcS+V8yGPvX3g/29REzUvJnCcIsEq9gBsDAzATVa IpqsOjONorhhtU+m+jhUoTwOeHr3lN91+2uE3l55esnn7WXxnuCZe/BPCCJfqB+ZeiEy Tdx/o98tu59CRfw3+K2qRg2bQHdWvJhi4Hdq98K5VhD4YqLatkbGDL3syQATcYL3P/rp LbJQ== X-Gm-Message-State: AOJu0YxJrFyeNS7c6A6umWH0NawZ+SOb5dgWMOOWtyO74looau/v18Gc Is5gF1E4jUS4xvxS1fy+F21PtgXdGINWM/8j/grMRA3QIg570T+mTT8YqAPV2bxZe6O2mkBBmav +sk0= X-Google-Smtp-Source: AGHT+IHE2MW85O2XUlIDaetpgcVvlYtDkEpWnA86Jl33ISntG99npi73Fpa+PkqiH8iTXVhAOBGHwQ== X-Received: by 2002:a05:620a:4485:b0:78e:e9bb:c0ec with SMTP id x5-20020a05620a448500b0078ee9bbc0ecmr7017110qkp.42.1714036977719; Thu, 25 Apr 2024 02:22:57 -0700 (PDT) From: George Dunlap To: xen-devel@lists.xenproject.org Cc: George Dunlap , Andrew Cooper , Jan Beulich , Roger Pau Monne , Nicola Vetrini Subject: [PATCH] svm: Fix MISRA 8.2 violation Date: Thu, 25 Apr 2024 10:12:49 +0100 Message-Id: <20240425091249.2639809-1-george.dunlap@cloud.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @cloud.com) X-ZM-MESSAGEID: 1714037008547100001 Content-Type: text/plain; charset="utf-8" Misra 8.2 requires named parameters in prototypes. Use the name from the implementaiton. Fixes 0d19d3aab0 ("svm/nestedsvm: Introduce nested capabilities bit"). Signed-off-by: George Dunlap Acked-by: Jan Beulich --- CC: Andrew Cooper CC: Jan Beulich CC: Roger Pau Monne CC: Nicola Vetrini --- xen/arch/x86/include/asm/hvm/nestedhvm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/include/asm/hvm/nestedhvm.h b/xen/arch/x86/includ= e/asm/hvm/nestedhvm.h index 0568acb25f..ea2c1bc328 100644 --- a/xen/arch/x86/include/asm/hvm/nestedhvm.h +++ b/xen/arch/x86/include/asm/hvm/nestedhvm.h @@ -83,7 +83,7 @@ static inline bool vvmcx_valid(const struct vcpu *v) } =20 =20 -void start_nested_svm(struct hvm_function_table *); -void start_nested_vmx(struct hvm_function_table *); +void start_nested_svm(struct hvm_function_table *hvm_function_table); +void start_nested_vmx(struct hvm_function_table *hvm_function_table); =20 #endif /* _HVM_NESTEDHVM_H */ --=20 2.25.1