]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bnxt_en: Use dma_rmb() instead of rmb().
authorMichael Chan <michael.chan@broadcom.com>
Sun, 15 May 2016 07:04:51 +0000 (03:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 15 May 2016 17:35:48 +0000 (13:35 -0400)
commitb67daab033293b3882ba4dc926ffb084d70044e0
tree14292e7552e37ab8abacfdd84b140480d1eb79cb
parent5049e33b559a44e9f216d86c58c7c7fce6f5df2f
bnxt_en: Use dma_rmb() instead of rmb().

Use the weaker but more appropriate dma_rmb() to order the reading of
the completion ring.

Suggested-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c