summaryrefslogtreecommitdiff
path: root/drivers/regulator/anatop-regulator.c
diff options
context:
space:
mode:
authorJose Abreu <Jose.Abreu@synopsys.com>2019-12-18 13:17:35 +0300
committerDavid S. Miller <davem@davemloft.net>2019-12-18 23:04:17 +0300
commit08c965430869ed423921bd9058ae59f75207feb6 (patch)
treed9e7a9fc9abda2aaf5c1370338c5906f17e9f333 /drivers/regulator/anatop-regulator.c
parentb7ac893652cafadcf669f78452329727e4e255cc (diff)
downloadlinux-08c965430869ed423921bd9058ae59f75207feb6.tar.xz
net: stmmac: selftests: Needs to check the number of Multicast regs
When running the MC and UC filter tests we setup a multicast address that its expected to be blocked. If the number of available multicast registers is zero, driver will always pass the multicast packets which will fail the test. Check if available multicast addresses is enough before running the tests. Fixes: 091810dbded9 ("net: stmmac: Introduce selftests support") Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/regulator/anatop-regulator.c')
0 files changed, 0 insertions, 0 deletions