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.

bng_en: fix misleading error message for generic firmware version

The devlink info_get handler incorrectly reports "roce firmware" when
populating the generic firmware version field.

Update the error message to correctly describe the failing operation.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Vikas Gupta <vikas.gupta@broadcom.com>
Link: https://patch.msgid.link/20260202033848.22993-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Alok Tiwari and committed by
Jakub Kicinski
1384a81e bb23f167

+1 -1
+1 -1
drivers/net/ethernet/broadcom/bnge/bnge_devlink.c
··· 221 221 DEVLINK_INFO_VERSION_GENERIC_FW, buf); 222 222 if (rc) { 223 223 NL_SET_ERR_MSG_MOD(extack, 224 - "Failed to set roce firmware version"); 224 + "Failed to set firmware version"); 225 225 return rc; 226 226 } 227 227