mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de
Subject: [PATCH 0/2] uio: Convert to platform remove callback returning void
Date: Fri,  8 Mar 2024 22:31:00 +0100	[thread overview]
Message-ID: <cover.1709933231.git.u.kleine-koenig@pengutronix.de> (raw)

Hello,

this series converts the two platform drivers below drivers/uio that
make use of .remove() to use .remove_new() instead.

See commit 5c5a7680e67b ("platform: Provide a remove callback that
returns no value") for an extended explanation and the eventual goal.
The TL;DR; is to make it harder for driver authors to leak resources
without noticing. The drivers here get it right though and so can be
converted trivially.

This is merge window material. The two patches are independent of each
other so they can be applied individually if necessary. But I assume
and suggest that Greg will pick them up together.

Best regards
Uwe

Uwe Kleine-König (2):
  uio: fsl_elbc_gpcm: Convert to platform remove callback returning void
  uio: pruss: Convert to platform remove callback returning void

 drivers/uio/uio_fsl_elbc_gpcm.c | 6 ++----
 drivers/uio/uio_pruss.c         | 5 ++---
 2 files changed, 4 insertions(+), 7 deletions(-)


base-commit: 8ffc8b1bbd505e27e2c8439d326b6059c906c9dd
-- 
2.43.0


             reply	other threads:[~2024-03-08 21:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-08 21:31 Uwe Kleine-König [this message]
2024-03-08 21:31 ` [PATCH 1/2] uio: fsl_elbc_gpcm: " Uwe Kleine-König
2024-03-08 21:31 ` [PATCH 2/2] uio: pruss: " Uwe Kleine-König
2024-04-15  7:19 ` [PATCH 0/2] uio: " Uwe Kleine-König
2024-04-15  7:31   ` Greg Kroah-Hartman
2024-04-15  7:41     ` Uwe Kleine-König

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=cover.1709933231.git.u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel@pengutronix.de \
    --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 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®