From 317d7a7f59cfd8d028ee0f0117910414d7c45db6 Mon Sep 17 00:00:00 2001 From: yezhonghui Date: Mon, 21 Oct 2024 11:14:31 +0800 Subject: [PATCH] Fix make warn as error in pci drivers Signed-off-by: yezhonghui --- drivers/pci/pci_ecam.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/pci/pci_ecam.c b/drivers/pci/pci_ecam.c index 132a3fd1444..7e9dd94cf49 100644 --- a/drivers/pci/pci_ecam.c +++ b/drivers/pci/pci_ecam.c @@ -47,11 +47,11 @@ ****************************************************************************/ static int pci_ecam_read_config(FAR struct pci_bus_s *bus, - unsigned int devfn, int where, int size, + uint32_t devfn, int where, int size, FAR uint32_t *val); static int pci_ecam_write_config(FAR struct pci_bus_s *bus, - unsigned int devfn, int where, int size, + uint32_t devfn, int where, int size, uint32_t val); static int pci_ecam_read_io(FAR struct pci_bus_s *bus, uintptr_t addr, @@ -199,7 +199,7 @@ static bool pci_ecam_addr_valid(FAR const struct pci_bus_s *bus, ****************************************************************************/ static int pci_ecam_read_config(FAR struct pci_bus_s *bus, - unsigned int devfn, int where, int size, + uint32_t devfn, int where, int size, FAR uint32_t *val) { FAR void *addr; @@ -257,7 +257,7 @@ static int pci_ecam_read_config(FAR struct pci_bus_s *bus, ****************************************************************************/ static int pci_ecam_write_config(FAR struct pci_bus_s *bus, - unsigned int devfn, int where, int size, + uint32_t devfn, int where, int size, uint32_t val) { FAR void *addr;