[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180801114518.ajkgsx7exjny63mt@mwanda>
Date: Wed, 1 Aug 2018 14:45:18 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: Jheng-Jhong Wu <goodwater.wu@...il.com>
Cc: devel@...verdev.osuosl.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] staging: mt29f_spinand: fix memory leak while
programming pages
devm_ resources are freed automatically when the device is removed.
The name devm_ stands for "device" and "managed".
regards,
dan carpenter
Powered by blists - more mailing lists