Re: [PATCH] net/hns3: fix inaccurate error log

2024-10-29 Thread Ferruh Yigit
On 10/23/2024 8:12 AM, Jie Hai wrote: > If register number obtained from firmware is different from the > register list driver hold, an error log occurs. The incorrect > use of `&&` makes this log inaccurate, change it to `&`. > > Signed-off-by: Jie Hai > Fixes: 99d3bd8b85d3 ("net/hns3: support

[PATCH] net/hns3: fix inaccurate error log

2024-10-23 Thread Jie Hai
If register number obtained from firmware is different from the register list driver hold, an error log occurs. The incorrect use of `&&` makes this log inaccurate, change it to `&`. Signed-off-by: Jie Hai --- drivers/net/hns3/hns3_regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di