[PATCH] ARM: imx: Call ida_simple_remove() for ida_simple_get

Shawn Guo shawnguo at kernel.org
Wed Jan 25 15:56:06 PST 2023


On Thu, Jan 05, 2023 at 02:11:23PM +0800, Angus Chen wrote:
> The function call ida_simple_get maybe fail,we should deal with it.
> And if ida_simple_get success ,it need to call ida_simple_remove also.
> BTW,devm_kasprintf can handle id is zero for consistency.
> 
> Fixes: e76bdfd7403a ("ARM: imx: Added perf functionality to mmdc driver")
> Signed-off-by: Angus Chen <angus.chen at jaguarmicro.com>

Applied, thanks!



More information about the linux-arm-kernel mailing list