Re: [PATCH net-next 2/2] hinic: add log in exception handling processes

2020-07-16 Thread luobin (L)
On 2020/7/16 23:27, Jakub Kicinski wrote: > On Thu, 16 Jul 2020 20:50:56 +0800 Luo bin wrote: >> improve the error message when functions return failure and dump >> relevant registers in some exception handling processes >> >> Signed-off-by: Luo bin > > For kernel builds with W=1 C=1 flags this p

Re: [PATCH net-next 2/2] hinic: add log in exception handling processes

2020-07-16 Thread Jakub Kicinski
On Thu, 16 Jul 2020 20:50:56 +0800 Luo bin wrote: > improve the error message when functions return failure and dump > relevant registers in some exception handling processes > > Signed-off-by: Luo bin For kernel builds with W=1 C=1 flags this patch adds 12 warnings to drivers/net/ethernet/huawe

[PATCH net-next 2/2] hinic: add log in exception handling processes

2020-07-16 Thread Luo bin
improve the error message when functions return failure and dump relevant registers in some exception handling processes Signed-off-by: Luo bin --- .../ethernet/huawei/hinic/hinic_hw_api_cmd.c | 27 +++- .../ethernet/huawei/hinic/hinic_hw_api_cmd.h | 4 ++ .../net/ethernet/huawei/hinic/hi