bnxt_en: Fix dmesg log firmware error messages.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 26 Feb 2016 09:00:05 +0000 (04:00 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 1 Mar 2016 20:37:01 +0000 (15:37 -0500)
commita8643e1604c1f39a675c6b10a7f84260fa13590c
treee39fd26433efdf83b487c01cc5652869f7e59e7b
parentff4fe81d2d49e3cad3bb45c8c5b9a49ca90ee10b
bnxt_en: Fix dmesg log firmware error messages.

Use appropriate firmware request header structure to prepare the
firmware messages.  This avoids the unnecessary conversion of the
fields to 32-bit fields.  Add appropriate endian conversion when
printing out the message fields in dmesg so that they appear correct
in the log.

Reported-by: Rob Swindell <swindell@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt.h
drivers/net/ethernet/broadcom/bnxt/bnxt_sriov.c