PCI: Use unsigned int i in pcie_read_tlp_log()
Loop variable i counting from 0 upwards does not need to be signed so make it unsigned int. Link: https://lore.kernel.org/r/20250114170840.1633-6-ilpo.jarvinen@linux.intel.com Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
This commit is contained in:
committed by
Bjorn Helgaas
parent
dbfd51ba4c
commit
27d41818b6
@@ -24,7 +24,8 @@
|
||||
int pcie_read_tlp_log(struct pci_dev *dev, int where,
|
||||
struct pcie_tlp_log *log)
|
||||
{
|
||||
int i, ret;
|
||||
unsigned int i;
|
||||
int ret;
|
||||
|
||||
memset(log, 0, sizeof(*log));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user