diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-11-04 13:52:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-08 09:43:17 +0100 |
commit | 6748f60b948230684fe3f295220e76679c5efc52 (patch) | |
tree | d2082c2cdd64bf5017505b026d1e77953f8c28b9 /drivers/net/gianfar.h | |
parent | fsl_pq_mdio: Fix compiler/sparse warnings (part 1) (diff) | |
download | linux-6748f60b948230684fe3f295220e76679c5efc52.tar.xz linux-6748f60b948230684fe3f295220e76679c5efc52.zip |
fsl_pq_mdio: Fix compiler/sparse warnings (part 2)
This patch fixes following warnings:
fsl_pq_mdio.c:112:38: warning: cast adds address space to expression (<asn:2>)
fsl_pq_mdio.c:124:38: warning: cast adds address space to expression (<asn:2>)
fsl_pq_mdio.c:133:38: warning: cast adds address space to expression (<asn:2>)
fsl_pq_mdio.c:414:11: warning: cast adds address space to expression (<asn:2>)
Instead of adding __force all over the place, introduce convenient
fsl_pq_mdio_get_regs() call that does the ugly casting just once.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/gianfar.h')
0 files changed, 0 insertions, 0 deletions