Skip to content

Commit 351cbde

Browse files
Jonathan Toppinsdavem330
authored andcommitted
bnxt: remove printing of hwrm message
bnxt_en 0000:19:00.0 (unregistered net_device) (uninitialized): hwrm req_type 0x190 seq id 0x6 error 0xffff The message above is commonly seen when a newer driver is used on hardware with older firmware. The issue is this message means nothing to anyone except Broadcom. Remove the message to not confuse users as this message is really not very informative. Signed-off-by: Jonathan Toppins <jtoppins@redhat.com> Acked-by: Michael Chan <michael.chan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent e6652f0 commit 351cbde

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • drivers/net/ethernet/broadcom/bnxt

‎drivers/net/ethernet/broadcom/bnxt/bnxt.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6190,7 +6190,8 @@ int bnxt_hwrm_func_resc_qcaps(struct bnxt *bp, bool all)
61906190
req.fid = cpu_to_le16(0xffff);
61916191

61926192
mutex_lock(&bp->hwrm_cmd_lock);
6193-
rc = _hwrm_send_message(bp, &req, sizeof(req), HWRM_CMD_TIMEOUT);
6193+
rc = _hwrm_send_message_silent(bp, &req, sizeof(req),
6194+
HWRM_CMD_TIMEOUT);
61946195
if (rc) {
61956196
rc = -EIO;
61966197
goto hwrm_func_resc_qcaps_exit;

0 commit comments

Comments
 (0)