]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
staging: fsl-dpaa2/eth: fix off-by-one FD ctrl bitmaks
authorHoria Geantă <horia.geanta@nxp.com>
Fri, 1 Sep 2017 12:58:41 +0000 (15:58 +0300)
committerSeth Forshee <seth.forshee@canonical.com>
Sun, 10 Sep 2017 23:08:42 +0000 (18:08 -0500)
commit081baaf19dabe198c83533ec0ec5146b5f71b9d8
tree6518506ff14e983f8d87e55b6a25427cfb0e5849
parent0ddc27d4bbf91999538482731f696870c7b7c498
staging: fsl-dpaa2/eth: fix off-by-one FD ctrl bitmaks

BugLink: http://bugs.launchpad.net/bugs/1716284
commit 11b86a84bc535a602fcf72ba6b3aa4eaa748764f upstream.

Fix the values of DPAA2_FD_CTRL_FSE and DPAA2_FD_CTRL_FAERR,
which are shifted off by one bit.

Fixes: 39163c0ce0f48 ("staging: fsl-dpaa2/eth: Errors checking update")
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h