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

2020-12-07 Thread Bjorn Helgaas
On Mon, Dec 07, 2020 at 01:40:33AM +0530, Puranjay Mohan wrote: > 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 +- >

[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/ether