From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Thorsten Blum <blum@kernel.org>
Cc: Dmitry Torokhov <dtor@insightbb.com>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] Input: amijoy - fix memory region leak on registration failure
Date: Sat, 7 Nov 2026 20:26:43 -0800 [thread overview]
Message-ID: <au_5_1B_OVWQVau-@google.com> (raw)
In-Reply-To: <20261108004952.394691-3-blum@kernel.org>
On Sun, Nov 08, 2026 at 01:49:52AM +0100, Thorsten Blum wrote:
> If input_register_device() fails in amijoy_init(), release the memory
> region for the current port before cleaning up the previously registered
> ports.
>
> Consolidate the error paths while at it.
>
> Fixes: 127278ce2254 ("Input: joysticks - handle errors when registering input devices")
> Signed-off-by: Thorsten Blum <blum@kernel.org>
Applied, thank you.
--
Dmitry
prev parent reply other threads:[~2026-11-08 4:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-08 0:49 [PATCH v2] Input: amijoy - fix memory region leak on registration failure Thorsten Blum
2026-11-08 4:26 ` Dmitry Torokhov [this message]
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=au_5_1B_OVWQVau-@google.com \
--to=dmitry.torokhov@gmail.com \
--cc=blum@kernel.org \
--cc=dtor@insightbb.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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.