Message ID | 1ced29b83c361b390ed32e30155a603a81baab0a.1698045505.git.federico.serafini@bugseng.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | x86: address some violations of MISRA C:2012 Rule 8.2 | expand |
On 23.10.2023 09:22, Federico Serafini wrote: > Add missing parameter names. No functional change. > > Signed-off-by: Federico Serafini <federico.serafini@bugseng.com> Acked-by: Jan Beulich <jbeulich@suse.com>
diff --git a/xen/arch/x86/x86_64/mmconfig.h b/xen/arch/x86/x86_64/mmconfig.h index 2d49fc79a0..3da4b21e9b 100644 --- a/xen/arch/x86/x86_64/mmconfig.h +++ b/xen/arch/x86/x86_64/mmconfig.h @@ -70,5 +70,5 @@ int pci_mmcfg_reserved(uint64_t address, unsigned int segment, unsigned int start_bus, unsigned int end_bus, unsigned int flags); int pci_mmcfg_arch_init(void); -int pci_mmcfg_arch_enable(unsigned int); -void pci_mmcfg_arch_disable(unsigned int); +int pci_mmcfg_arch_enable(unsigned int idx); +void pci_mmcfg_arch_disable(unsigned int idx);
Add missing parameter names. No functional change. Signed-off-by: Federico Serafini <federico.serafini@bugseng.com> --- xen/arch/x86/x86_64/mmconfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)