Commit acbf1d0a authored by Alok Tiwari's avatar Alok Tiwari Committed by Jakub Kicinski
Browse files

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: default avatarAlok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: default avatarFan Gong <gongfan1@huawei.com>
Link: https://patch.msgid.link/20251031112654.46187-1-alok.a.tiwari@oracle.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 01cc7606
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -304,7 +304,7 @@ static int hinic3_open_channel(struct net_device *netdev)

	err = hinic3_configure(netdev);
	if (err) {
		netdev_err(netdev, "Failed to init txrxq irq\n");
		netdev_err(netdev, "Failed to configure device resources\n");
		goto err_uninit_qps_irq;
	}