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

From: Jakub Kicinski
Date: Thu Jul 16 2020 - 11:27:14 EST


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.