[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190531085209.GA20964@amd>
Date: Fri, 31 May 2019 10:52:10 +0200
From: Pavel Machek <pavel@...x.de>
To: kernel list <linux-kernel@...r.kernel.org>,
dmitry.torokhov@...il.com, gregkh@...uxfoundation.org,
teheo@...e.de, sre@...nel.org
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
Download attachment "signature.asc" of type "application/pgp-signature" (182 bytes)
Powered by blists - more mailing lists