]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hinic3: fix misleading error message in hinic3_open_channel()
authorAlok Tiwari <alok.a.tiwari@oracle.com>
Fri, 31 Oct 2025 11:26:44 +0000 (04:26 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Nov 2025 00:38:31 +0000 (16:38 -0800)
commitacbf1d0a9aeb1035e74c3750a6b31db0b7b69ed4
tree61b3fd6e3f4fe4450c1a4a21147f07db42669c10
parent01cc760632b875c4ad0d8fec0b0c01896b8a36d4
hinic3: fix misleading error message in hinic3_open_channel()

The error message printed when hinic3_configure() fails incorrectly
reports "Failed to init txrxq irq", which does not match the actual
operation performed. The hinic3_configure() function sets up various
device resources such as MTU and RSS parameters , not IRQ initialization.

Update the log to "Failed to configure device resources" to make the
message accurate and clearer for debugging.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Fan Gong <gongfan1@huawei.com>
Link: https://patch.msgid.link/20251031112654.46187-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c