fsl/fman: fix error handling
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Mon, 4 Jul 2016 05:46:42 +0000 (07:46 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2016 00:15:52 +0000 (17:15 -0700)
commita788a4a040e003574b8ad17115706ab1601ec572
tree12f412a5b850be474970ebf52c0a86da8c8a2b81
parentc086e7096170390594c425114d98172bc9aceb8a
fsl/fman: fix error handling

This is likely that checking 'fman->fifo_offset' instead of
'fman->cam_offset' is expected here.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fman/fman.c