On Thu, Mar 14, 2019 at 08:28:15AM +0100, Enrico Weigelt, metux IT consult wrote: > Hi folks, > > I've seen several drivers do ioremap() w/o calling iounmap(). > Shouldn't they always clean up ? (maybe it's forgotten, since > these drivers usually seem to be compiled-in). They should clean up when they are done with the memory. Are they ever done with it? > Can I replace it w/ dev_ioremap() or could this somehow conflict > w/ earlycon ? What does devm_* have to do with earlycon? thanks, greg k-h