Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Alok Tiwari and committed by
Jakub Kicinski
acbf1d0a 01cc7606

+1 -1
+1 -1
drivers/net/ethernet/huawei/hinic3/hinic3_netdev_ops.c
··· 304 304 305 305 err = hinic3_configure(netdev); 306 306 if (err) { 307 - netdev_err(netdev, "Failed to init txrxq irq\n"); 307 + netdev_err(netdev, "Failed to configure device resources\n"); 308 308 goto err_uninit_qps_irq; 309 309 } 310 310