[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <928bd40f-3bbe-4038-be51-30e1b3bf40ec@loongson.cn>
Date: Wed, 24 Jul 2024 17:24:53 +0800
From: Yanteng Si <siyanteng@...ngson.cn>
To: Simon Horman <horms@...nel.org>
Cc: andrew@...n.ch, hkallweit1@...il.com, peppe.cavallaro@...com,
alexandre.torgue@...s.st.com, joabreu@...opsys.com, fancer.lancer@...il.com,
diasyzhang@...cent.com, Jose.Abreu@...opsys.com, chenhuacai@...nel.org,
linux@...linux.org.uk, guyinggang@...ngson.cn, netdev@...r.kernel.org,
chris.chenfeiyang@...il.com, si.yanteng@...ux.dev,
Huacai Chen <chenhuacai@...ngson.cn>
Subject: Re: [PATCH net-next RFC v15 12/14] net: stmmac: dwmac-loongson: Add
Loongson Multi-channels GMAC support
在 2024/7/22 23:30, Simon Horman 写道:
> ...
>
>> diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-loongson.c
>> +static struct mac_device_info *loongson_dwmac_setup(void *apriv)
>> +{
>> + struct stmmac_priv *priv = apriv;
>> + struct mac_device_info *mac;
>> + struct stmmac_dma_ops *dma;
>> + struct loongson_data *ld;
>> + struct pci_dev *pdev;
>> +
>> + ld = priv->plat->bsp_priv;
>> + pdev = to_pci_dev(priv->device);
> nit: pdev is set but otherwise unused.
>
> Flagged by allmodconfig W=1 builds
Thanks! I will drop it in v15.
Thanks,
Yanteng
Powered by blists - more mailing lists