All of lore.kernel.org
 help / color / mirror / Atom feed
From: Shawn Guo <shawnguo@kernel.org>
To: Angus Chen <angus.chen@jaguarmicro.com>
Cc: s.hauer@pengutronix.de, linux-imx@nxp.com, kernel@pengutronix.de,
	festevam@gmail.com, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk
Subject: Re: [PATCH] ARM: imx: Call ida_simple_remove() for ida_simple_get
Date: Thu, 26 Jan 2023 07:56:06 +0800	[thread overview]
Message-ID: <20230125235605.GF20713@T480> (raw)
In-Reply-To: <20230105061123.2085-1-angus.chen@jaguarmicro.com>

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@jaguarmicro.com>

Applied, thanks!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

WARNING: multiple messages have this Message-ID (diff)
From: Shawn Guo <shawnguo@kernel.org>
To: Angus Chen <angus.chen@jaguarmicro.com>
Cc: s.hauer@pengutronix.de, linux-imx@nxp.com, kernel@pengutronix.de,
	festevam@gmail.com, linux-kernel@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org, linux@armlinux.org.uk
Subject: Re: [PATCH] ARM: imx: Call ida_simple_remove() for ida_simple_get
Date: Thu, 26 Jan 2023 07:56:06 +0800	[thread overview]
Message-ID: <20230125235605.GF20713@T480> (raw)
In-Reply-To: <20230105061123.2085-1-angus.chen@jaguarmicro.com>

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@jaguarmicro.com>

Applied, thanks!

  reply	other threads:[~2023-01-25 23:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-05  6:11 [PATCH] ARM: imx: Call ida_simple_remove() for ida_simple_get Angus Chen
2023-01-05  6:11 ` Angus Chen
2023-01-25 23:56 ` Shawn Guo [this message]
2023-01-25 23:56   ` Shawn Guo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230125235605.GF20713@T480 \
    --to=shawnguo@kernel.org \
    --cc=angus.chen@jaguarmicro.com \
    --cc=festevam@gmail.com \
    --cc=kernel@pengutronix.de \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-imx@nxp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=s.hauer@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.