Re: [PATCH net] hinic: fix a bug of ndo_stop

2020-05-07 Thread luobin (L)
All right,will fix. On 2020/5/8 9:00, David Miller wrote: From: Luo bin Date: Thu, 7 May 2020 04:32:22 + + ulong timeo; Please fully spell out "unsigned long" for this type. The same problem exists in your net-next patch submission as well. Thank you. .

Re: [PATCH net] hinic: fix a bug of ndo_stop

2020-05-07 Thread David Miller
From: Luo bin Date: Thu, 7 May 2020 04:32:22 + > + ulong timeo; Please fully spell out "unsigned long" for this type. The same problem exists in your net-next patch submission as well. Thank you.

[PATCH net] hinic: fix a bug of ndo_stop

2020-05-07 Thread Luo bin
if some function in ndo_stop interface returns failure because of hardware fault, must go on excuting rest steps rather than return failure directly, otherwise will cause memory leak Signed-off-by: Luo bin --- .../net/ethernet/huawei/hinic/hinic_hw_mgmt.c | 28 ++- .../net/ethern