Messages in this thread | | | Date | Fri, 31 May 2019 10:52:10 +0200 | From | Pavel Machek <> | Subject | devm_* vs. PROBE_DEFFER: memory leaks? |
| |
Hi!
Is devm_ supposed to work with EPROBE_DEFFER?
Probe function is now called multiple times; is memory freed between calling probe()? Will allocations from failed probe()s remain after the driver is inserted successfully, leaking memory?
Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html [unhandled content-type:application/pgp-signature] | |