]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Zero pad firmware messages to 128 bytes.
authorMichael Chan <mchan@broadcom.com>
Fri, 8 Jan 2016 00:56:57 +0000 (19:56 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 03:19:19 +0000 (22:19 -0500)
commit9c87a381e62eb3c23aa79ef3106c1e15e9348417
tree2de84ff6a35011d7f3573a1f60f17e8a866c899c
parent391f6eaa4022717e4ff9770d4f6e98e7b97ba157
bnxt_en: Zero pad firmware messages to 128 bytes.

For future compatibility, zero pad all messages that the driver sends
to the firmware to 128 bytes.  If these messages are extended in the
future with new byte enables, zero padding these messages now will
guarantee future compatibility.

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