On Tue, 2 Jul 2024 10:19:44 +0800
Chaoyong He wrote:
> - int fd, i, j;
> + int fd, i, map_idx;
> struct mapped_pci_resource *uio_res;
> struct mapped_pci_res_list *uio_res_list =
> RTE_TAILQ_CAST(rte_uio_tailq.head, mapped_pci_res_list);
> @@ -37,41 +37,
From: Zerun Fu
To makes the logic clearer, rename the variable 'i' into 'map_idx'
and the variable 'j' into 'i'.
Signed-off-by: Zerun Fu
Reviewed-by: Chaoyong He
Reviewed-by: Long Wu
Reviewed-by: Peng Zhang
---
drivers/bus/pci/pci_common_uio.c | 30 +++---
1 file cha
2 matches
Mail list logo