summaryrefslogtreecommitdiff
path: root/drivers/md/dm-cache-background-tracker.c
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-11-04 10:15:02 -0800
committerPhilipp Zabel <p.zabel@pengutronix.de>2019-12-10 11:43:37 +0100
commitce89d8d3a70fa530e16f0b0f8994385a214cd0c0 (patch)
tree9179a12df40ee939ceb19c14e117a060fd24740f /drivers/md/dm-cache-background-tracker.c
parent392a9f63058f2cdcec8363b849a25532ee40da9f (diff)
reset: brcmstb: Remove resource checks
The use of IS_ALIGNED() is incorrect, the typical resource we pass looks like this: start: 0x8404318, size: 0x30. When using IS_ALIGNED() we will get the following 0x8404318 & (0x18 - 1) = 0x10 which is definitively not equal to 0, same goes with the size. These two checks would make the driver fail probing. Remove the resource checks, since there should be no constraint on the base addresse or size. Fixes: 77750bc089e4 ("reset: Add Broadcom STB SW_INIT reset controller driver") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/md/dm-cache-background-tracker.c')
0 files changed, 0 insertions, 0 deletions