bnxt_en: Fix devlink info's stored fw.psid version format.
authorVasundhara Volam <vasundhara-v.volam@broadcom.com>
Thu, 11 Feb 2021 07:24:24 +0000 (02:24 -0500)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2021 22:36:22 +0000 (14:36 -0800)
commitdb28b6c77f4050f62599267a886b61fbd6504633
treee1a6228f18fc25f457c92efd2546d8db6b551de8
parent132e0b65dc2b8bfa9721bfce834191f24fd1d7ed
bnxt_en: Fix devlink info's stored fw.psid version format.

The running fw.psid version is in decimal format but the stored
fw.psid is in hex format.  This can mislead the user to reset the
NIC to activate the stored version to become the running version.

Fix it to display the stored fw.psid in decimal format.

Fixes: 1388875b3916 ("bnxt_en: Add stored FW version info to devlink info_get cb.")
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c