Re: [PATCH net-next 5/5] hinic: add support to get eeprom information

2020-06-03 Thread luobin (L)
On 2020/6/4 11:01, Jakub Kicinski wrote: > On Wed, 3 Jun 2020 14:20:15 +0800 Luo bin wrote: >> add support to get eeprom information from the plug-in module >> with ethtool -m cmd. >> >> Signed-off-by: Luo bin > > drivers/net/ethernet/huawei/hinic/hinic_port.c:1386:5: warning: variable > port_id

Re: [PATCH net-next 5/5] hinic: add support to get eeprom information

2020-06-03 Thread Jakub Kicinski
On Wed, 3 Jun 2020 14:20:15 +0800 Luo bin wrote: > add support to get eeprom information from the plug-in module > with ethtool -m cmd. > > Signed-off-by: Luo bin drivers/net/ethernet/huawei/hinic/hinic_port.c:1386:5: warning: variable port_id set but not used [-Wunused-but-set-variable] 1386

[PATCH net-next 5/5] hinic: add support to get eeprom information

2020-06-02 Thread Luo bin
add support to get eeprom information from the plug-in module with ethtool -m cmd. Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_ethtool.c | 68 .../net/ethernet/huawei/hinic/hinic_hw_dev.h | 4 + .../net/ethernet/huawei/hinic/hinic_port.c| 78