linux/drivers/staging
Ioana Radulescu 54ce891779 staging: fsl-dpaa2/eth: Fix access to FAS field
Commit 4b2d9fe879 ("staging: fsl-dpaa2/eth: Extra headroom in RX
buffers") removes the software annotation (SWA) area from the RX
buffer layout, as it's not used by anyone, but fails to update the
macros for accessing hardware annotation (HWA) fields, which is
right after the SWA in the buffer headroom.

This may lead to some frame annotation status fields (e.g. indication
if L3/L4 checksum is valid) to be read incorrectly.

Turn the accessor macros into inline functions and add a bool param
to specify if SWA is present or not.

Fixes: 4b2d9fe879 ("staging: fsl-dpaa2/eth: Extra headroom in RX buffers")

Signed-off-by: Ioana Radulescu <ruxandra.radulescu@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-12-08 16:33:29 +01:00
..
android staging: android: add identifiers to function parameters 2017-12-06 10:05:06 +01:00
board License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ccree drivers: staging: remove duplicate includes 2017-12-06 18:26:05 +01:00
clocking-wizard
comedi Merge Linus's staging merge point into staging-next 2017-12-06 15:27:17 +01:00
dgnc staging: dgnc: add identifiers to function parameters 2017-12-06 10:08:21 +01:00
emxx_udc
fbtft Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
fsl-dpaa2 staging: fsl-dpaa2/eth: Fix access to FAS field 2017-12-08 16:33:29 +01:00
fsl-mc staging: fsl-mc: use 32bits to support 64K size mc-portals 2017-11-28 13:58:31 +01:00
fwserial Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
gdm724x Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
goldfish staging: goldfish: (Coding Style) Fixed parenthesis alignment. 2017-08-31 18:21:37 +02:00
greybus treewide: setup_timer() -> timer_setup() 2017-11-21 15:57:07 -08:00
gs_fpgaboot staging: gs_fpgaboot: pr_err() strings should end with newlines 2017-10-03 18:36:25 +02:00
iio iio: trigger: Fix platform_get_irq's error checking 2017-12-02 12:21:10 +00:00
ipx staging: ipx: depends on NET 2017-11-30 17:13:52 +00:00
irda drivers: staging: remove duplicate includes 2017-12-06 18:26:05 +01:00
ks7010 Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
lustre staging: lustre: llite: Remove redundant else keyword 2017-12-07 15:34:17 +01:00
media staging: imx: use ktime_t for timestamps 2017-11-28 13:52:48 +01:00
most staging: most: make DEVICE_ATTR structures static 2017-11-28 13:36:21 +01:00
mt29f_spinand staging: mt29f_spinand: Enable the read ECC before program the page 2017-09-18 12:25:31 +02:00
ncpfs Merge Linus's staging merge point into staging-next 2017-12-06 15:27:17 +01:00
netlogic staging: net: netlogic: Fix alignment issue 2017-10-18 16:17:14 +02:00
nvec License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
octeon
octeon-usb staging: octeon-usb: use __delay() instead of cvmx_wait() 2017-11-28 14:36:46 +01:00
olpc_dcon staging: olpc_dcon: Line up parentheses in func calls and defs 2017-12-06 10:00:30 +01:00
pi433 staging: pi433: pi433_if.c remove SET_CHECKED macro 2017-12-08 16:31:35 +01:00
rtl8188eu staging: rtl8188eu: Fix incorrect response to SIOCGIWESSID 2017-11-28 14:36:45 +01:00
rtl8192e Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
rtl8192u Staging: rtl8192u: Fix no spaces around '+' 2017-12-07 15:34:17 +01:00
rtl8712 staging: rtl8712: remove redundant zero assignment to val32 2017-11-28 14:07:15 +01:00
rtl8723bs Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
rtlwifi staging: rtl8822be: fix missing null check on dev_alloc_skb return 2017-11-28 14:20:50 +01:00
rts5208 staging: rts5208: remove rtsx_read_pci_cfg_byte() 2017-11-28 14:20:50 +01:00
skein License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
sm750fb staging/sm750fb: Add "port to atomic kms" to TODO 2017-11-28 13:52:48 +01:00
speakup staging: speakup: selection: replace _manual_ swap with swap macro 2017-11-27 09:20:40 +01:00
typec staging: typec: tcpci: mark expected switch fall-through in tcpci_to_typec_cc 2017-10-18 16:42:28 +02:00
unisys staging: unisys: move dependencies from UNISYSSPAR to VISORBUS 2017-12-06 17:48:26 +01:00
vboxvideo main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
vc04_services staging: vc04_services: Use __func__ 2017-12-06 09:48:54 +01:00
vme Staging/IIO patches for 4.15-rc1 2017-11-13 20:53:28 -08:00
vt6655 staging: vt6655: Remove redundant license text 2017-11-28 13:20:47 +01:00
vt6656 staging: vt6656: Remove redundant license text 2017-11-28 13:20:47 +01:00
wilc1000 staging: wilc1000: add SPDX identifiers to all wilc100 files 2017-11-28 13:20:46 +01:00
wlan-ng staging: wlan-ng: add SPDX identifiers to all wlan-ng driver files 2017-11-28 13:20:47 +01:00
xgifb staging: xgifb: remove macros with hidden variable 2017-12-06 09:59:27 +01:00
Kconfig ncpfs: move net/ncpfs to drivers/staging/ncpfs 2017-11-28 13:55:01 +01:00
Makefile ncpfs: move net/ncpfs to drivers/staging/ncpfs 2017-11-28 13:55:01 +01:00