summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/apm/xgene
diff options
context:
space:
mode:
authorIgal Liberman <igal.liberman@freescale.com>2016-02-29 00:59:53 +0300
committerDavid S. Miller <davem@davemloft.net>2016-03-03 23:21:23 +0300
commit878e3c1be2dc8a759c18bb280a7390f9ed0bd544 (patch)
tree438336bafa7fcd6fe63aac6274e61471b5a3ec94 /drivers/net/ethernet/apm/xgene
parent88f8b1bb41c6208f81b6a480244533ded7b59493 (diff)
downloadlinux-878e3c1be2dc8a759c18bb280a7390f9ed0bd544.tar.xz
fsl/fman: Initialize fman->dev earlier
Currently, in a case of error, dev_err is using fman->dev before its initialization and "(NULL device *)" is printed. This patch fixes this issue. Signed-off-by: Igal Liberman <igal.liberman@freescale.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apm/xgene')
0 files changed, 0 insertions, 0 deletions