[PATCH] drivers: broadcom: save return value of pci_find_capability() in u8

2020-12-06 Thread Puranjay Mohan
Callers of pci_find_capability() should save the return value in u8. change the type of pcix_cap from int to u8, to match the specification. Signed-off-by: Puranjay Mohan --- drivers/net/ethernet/broadcom/tg3.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net

Re: [PATCH v4 0/3] net: fddi: skfp: Use PCI generic definitions instead of private duplicates

2019-06-21 Thread Puranjay Mohan
On Fri, Jun 21, 2019 at 08:44:12PM +0530, Puranjay Mohan wrote: > This patch series removes the private duplicates of PCI definitions in > favour of generic definitions defined in pci_regs.h. > > This driver only uses some of the generic PCI definitons, > which are included from