Files
linux/drivers/net
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
..
2016-01-25 10:51:52 -08:00
2015-11-15 17:09:23 -05:00
2016-02-13 06:10:21 -05:00
2015-10-21 19:36:10 -07:00
2015-10-13 04:55:07 -07:00
2015-12-17 15:25:57 -05:00
2016-02-18 15:01:14 -05:00