From patchwork Fri Sep 8 09:13:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Federico Serafini X-Patchwork-Id: 13377266 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51271EE57E6 for ; Fri, 8 Sep 2023 09:13:58 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.597901.932309 (Exim 4.92) (envelope-from ) id 1qeXYf-0007th-Be; Fri, 08 Sep 2023 09:13:45 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 597901.932309; Fri, 08 Sep 2023 09:13:45 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qeXYf-0007ta-8j; Fri, 08 Sep 2023 09:13:45 +0000 Received: by outflank-mailman (input) for mailman id 597901; Fri, 08 Sep 2023 09:13:43 +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 1qeXYd-0007tU-Bl for xen-devel@lists.xenproject.org; Fri, 08 Sep 2023 09:13:43 +0000 Received: from support.bugseng.com (mail.bugseng.com [162.55.131.47]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 008d8989-4e28-11ee-9b0d-b553b5be7939; Fri, 08 Sep 2023 11:13:41 +0200 (CEST) Received: from Dell.bugseng.com (unknown [37.160.105.86]) by support.bugseng.com (Postfix) with ESMTPSA id 4E1204EE0738; Fri, 8 Sep 2023 11:13:40 +0200 (CEST) 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: 008d8989-4e28-11ee-9b0d-b553b5be7939 From: Federico Serafini To: xen-devel@lists.xenproject.org Cc: consulting@bugseng.com, Federico Serafini , =?utf-8?q?Roger_Pau_Monn=C3=A9?= Subject: [XEN PATCH] xen/vPCI: address violation of MISRA C:2012 Rule 8.3 Date: Fri, 8 Sep 2023 11:13:31 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Make function declaration consistent with the corresponding definition. No functional change. Signed-off-by: Federico Serafini Acked-by: Roger Pau Monné --- xen/include/xen/vpci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/include/xen/vpci.h b/xen/include/xen/vpci.h index 0b8a2a3c74..d743d96a10 100644 --- a/xen/include/xen/vpci.h +++ b/xen/include/xen/vpci.h @@ -26,7 +26,7 @@ typedef int vpci_register_init_t(struct pci_dev *dev); __used_section(".data.vpci." p) = x /* Add vPCI handlers to device. */ -int __must_check vpci_add_handlers(struct pci_dev *dev); +int __must_check vpci_add_handlers(struct pci_dev *pdev); /* Remove all handlers and free vpci related structures. */ void vpci_remove_device(struct pci_dev *pdev);