]> git.ipfire.org Git - people/arne_f/kernel.git/commit
net: bgmac: Correctly annotate register space
authorFlorian Fainelli <f.fainelli@gmail.com>
Sun, 1 Apr 2018 17:26:29 +0000 (10:26 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:52:26 +0000 (07:52 +0200)
commit305f25c1ed53c1458b3049afc0979bc23ba5d55a
tree952f02eb1ed9ee6983f1582a7340bcafda433755
parent435290f7a40a2bf033616309137b92cf0c61015d
net: bgmac: Correctly annotate register space

[ Upstream commit 16a1c0646e55c3345bce8e4edfc06ad119d27c04 ]

All the members: base, idm_base and nicpm_base should be annotated with
__iomem since they are pointers to register space. This fixes a bunch of
sparse reported warnings.

Fixes: f6a95a24957a ("net: ethernet: bgmac: Add platform device support")
Fixes: dd5c5d037f5e ("net: ethernet: bgmac: add NS2 support")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/broadcom/bgmac.h