net: fec: check DMA addressing limitations
authorStefan Agner <stefan@agner.ch>
Thu, 2 Aug 2018 08:42:50 +0000 (10:42 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Aug 2018 17:19:24 +0000 (10:19 -0700)
commit453e9dc48be466afa2adc25d072aa4c5b8774f8d
tree4e7fffde9bec9b74062b2fe01421468b6f4ee1e8
parent770b26de1eca97142218de3b2829a790f2ff8803
net: fec: check DMA addressing limitations

Check DMA addressing limitations as suggested by the DMA API
how-to. This does not fix a particular issue seen but is
considered good style.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Fugang Duan <fugang.duan@nxp.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c