From: Federico Serafini Date: Tue, 19 Sep 2023 09:01:56 +0000 (+0200) Subject: xen/vPCI: address violation of MISRA C:2012 Rule 8.3 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=93d2ee85f189aab6d8326871b9991469d795fbc9;p=people%2Froyger%2Fxen.git xen/vPCI: address violation of MISRA C:2012 Rule 8.3 Make function declaration consistent with the corresponding definition. No functional change. Signed-off-by: Federico Serafini Acked-by: Roger Pau Monné --- 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);