mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
To: Linus Walleij <linusw@kernel.org>,
	Bartosz Golaszewski <brgl@kernel.org>,
	Arun Iyengar <aiyengar1990@gmail.com>
Cc: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
	stable@vger.kernel.org
Subject: Re: [PATCH] gpio: sysfs: free the chip attribute group name on unexport
Date: Wed,  2 Dec 2026 09:50:07 +0100	[thread overview]
Message-ID: <179620140571.6479.5878144745339910289.b4-ty@oss.qualcomm.com> (raw)
In-Reply-To: <20261130-gpio-sysfs-unexport-leak-v1-1-cbee5951fb00@gmail.com>


On Mon, 30 Nov 2026 20:20:19 +0000, Arun Iyengar wrote:
> gpiod_export() allocates chip_attr_group.name but gpiod_unexport()
> never frees it, leaking it on every unexport.
> 
> 

Applied, thanks!

[1/1] gpio: sysfs: free the chip attribute group name on unexport
      https://git.kernel.org/brgl/c/e3bff42c728585cadafee4b18db9386408465cfc

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>

      reply	other threads:[~2026-12-02  8:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30 20:20 Arun Iyengar via B4 Relay
2026-12-02  8:50 ` Bartosz Golaszewski [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=179620140571.6479.5878144745339910289.b4-ty@oss.qualcomm.com \
    --to=bartosz.golaszewski@oss.qualcomm.com \
    --cc=aiyengar1990@gmail.com \
    --cc=brgl@kernel.org \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stable@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®