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

From: luobin (L)
Date: Thu Jul 16 2020 - 20:53:09 EST


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 <luobin9@xxxxxxxxxx>
>
> For kernel builds with W=1 C=1 flags this patch adds 12 warnings to
> drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c and 39 warnings to
> drivers/net/ethernet/huawei/hinic/hinic_hw_if.h.
>
> It seems like you're missing byte swaps.
> .
>
Will fix. Thank you!