linux-pinenote/drivers/net/ethernet/broadcom/bnxt
Michael Chan fbb0fa8b48 bnxt_en: Fix zero padding of tx push data.
The arithmetic to zero pad the last 64-bit word in the push buffer is not
correct.

1. It should be pdata + length to get to the end.
2. 'pdata' is void pointer and passing it to PTR_ALIGN() will cast the
aligned pointer to void.  Pass 'end' which is u64 pointer to PTR_ALIGN()
instead so that the aligned pointer - 1 is the last 64-bit pointer to data.

Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-02-23 19:12:51 -05:00
..
bnxt.c bnxt_en: Fix zero padding of tx push data. 2016-02-23 19:12:51 -05:00
bnxt.h bnxt_en: Reduce default ring sizes. 2016-02-16 15:50:02 -05:00
bnxt_ethtool.c bnxt_en: Remove 20G support and advertise only 40GbaseCR4. 2016-02-16 15:50:02 -05:00
bnxt_ethtool.h
bnxt_fw_hdr.h
bnxt_hsi.h bnxt_en: Update to Firmware interface spec 1.0.0. 2015-12-28 00:57:29 -05:00
bnxt_nvm_defs.h
bnxt_sriov.c bnxt_en: Update to Firmware interface spec 1.0.0. 2015-12-28 00:57:29 -05:00
bnxt_sriov.h
Makefile