summaryrefslogtreecommitdiff
path: root/.get_maintainer.ignore
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2018-04-03 02:17:01 +0300
committerDavid S. Miller <davem@davemloft.net>2018-04-04 18:15:27 +0300
commit861690d0543949633c97ebe9b2fcd55c27b9bda4 (patch)
tree1c332e26df66bf8e24fea9a2f1dcf7f17c0d74e6 /.get_maintainer.ignore
parent3848ec5dc82ce648a84ed10021ce2562fdac7c6a (diff)
downloadlinux-861690d0543949633c97ebe9b2fcd55c27b9bda4.tar.xz
net: dsa: b53: Fix sparse warnings in b53_mmap.c
sparse complains about the following warnings: drivers/net/dsa/b53/b53_mmap.c:33:31: warning: incorrect type in initializer (different address spaces) drivers/net/dsa/b53/b53_mmap.c:33:31: expected unsigned char [noderef] [usertype] <asn:2>*regs drivers/net/dsa/b53/b53_mmap.c:33:31: got void *priv and indeed, while what we are doing is functional, we are dereferencing a void * pointer into a void __iomem * which is not great. Just use the defined b53_mmap_priv structure which holds our register base and use that. Fixes: 967dd82ffc52 ("net: dsa: b53: Add support for Broadcom RoboSwitch") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions