diff options
author | Edwin Peer <edwin.peer@broadcom.com> | 2021-11-15 08:38:00 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-11-15 15:13:20 +0100 |
commit | b68a1a933fe4a52a8316d214e3421f2a89bc113e (patch) | |
tree | 1f3f7169580817b19e37e445dd631d13f7e1c5d0 /drivers/net/ethernet/broadcom | |
parent | bnxt_en: extend RTNL to VF check in devlink driver_reinit (diff) | |
download | linux-b68a1a933fe4a52a8316d214e3421f2a89bc113e.tar.xz linux-b68a1a933fe4a52a8316d214e3421f2a89bc113e.zip |
bnxt_en: fix format specifier in live patch error message
This fixes type mismatch warning.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 3c4153394e2c ("bnxt_en: implement firmware live patching")
Signed-off-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c index a0a9af402642..6fe9e9b59f83 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c @@ -360,7 +360,7 @@ bnxt_dl_livepatch_report_err(struct bnxt *bp, struct netlink_ext_ack *extack, NL_SET_ERR_MSG_MOD(extack, "Live patch already applied"); break; default: - netdev_err(bp->dev, "Unexpected live patch error: %hhd\n", err); + netdev_err(bp->dev, "Unexpected live patch error: %d\n", err); NL_SET_ERR_MSG_MOD(extack, "Failed to activate live patch"); break; } |