Skip to contentSkip to conversation

hwmon: (xgene) missing iounmap() and memunmap()

DISCUSSION Evgeny Novikov 1 participant 1 message Jul 17, 2020 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

xgene_hwmon_probe() invokes ioremap() and memremap() under certain assumptions, but the driver does not invoke iounmap() and memunmap() either on probe error handling paths or in xgene_hwmon_remove().

I assume a patch would be non-trivial while I have not a capability to test it well.

Found by Linux Driver Verification project (linuxtesting.org).