All of lore.kernel.org
 help / color / mirror / Atom feed
From: Salah Triki <salah.triki@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: "David Lechner" <dlechner@baylibre.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2] iio: trigger: fix use-after-free in viio_trigger_alloc()
Date: Sun, 15 Feb 2026 20:34:48 +0100	[thread overview]
Message-ID: <aZIf2MJ6M3bGRn9W@pc> (raw)
In-Reply-To: <20260207153546.74d4fc2b@jic23-huawei>

Hi Jonathan,

You're right, the explanation was too wordy. I'll send a v3 focusing on the
fact that using put_device() follows the standard design pattern and avoids
duplicating the cleanup logic already present in the release callback.
I will also remove the Fixes tag as this is more of a robustness 
improvement than a critical bug fix.

Best regards,

Salah

      reply	other threads:[~2026-02-15 19:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-04 20:34 [PATCH v2] iio: trigger: fix use-after-free in viio_trigger_alloc() Salah Triki
2026-02-07 15:35 ` Jonathan Cameron
2026-02-15 19:34   ` Salah Triki [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=aZIf2MJ6M3bGRn9W@pc \
    --to=salah.triki@gmail.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    /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.