All of lore.kernel.org
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Colin Ian King <colin.i.king@gmail.com>
Cc: Joern Engel <joern@lazybastard.org>,
	 Richard Weinberger <richard@nod.at>,
	 Vignesh Raghavendra <vigneshr@ti.com>,
	linux-mtd@lists.infradead.org,  kernel-janitors@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH][next] mtd: phram: only call platform_driver_unregister if phram_setup fails
Date: Thu, 05 Dec 2024 11:46:00 +0100	[thread overview]
Message-ID: <87frn2v253.fsf@bootlin.com> (raw)
In-Reply-To: <20241030172149.3101873-1-colin.i.king@gmail.com> (Colin Ian King's message of "Wed, 30 Oct 2024 17:21:49 +0000")

Hi,

On 30/10/2024 at 17:21:49 GMT, Colin Ian King <colin.i.king@gmail.com> wrote:

> The check on ret and call to platform_driver_unregister is only required
> in the code path where MODULE is not defined. Fix this by moving this
> code into the relevant place after the call to phram_setup.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Applied to mtd/next.

Thanks,
Miquèl

WARNING: multiple messages have this Message-ID (diff)
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: Colin Ian King <colin.i.king@gmail.com>
Cc: Joern Engel <joern@lazybastard.org>,
	 Richard Weinberger <richard@nod.at>,
	 Vignesh Raghavendra <vigneshr@ti.com>,
	linux-mtd@lists.infradead.org,  kernel-janitors@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH][next] mtd: phram: only call platform_driver_unregister if phram_setup fails
Date: Thu, 05 Dec 2024 11:46:00 +0100	[thread overview]
Message-ID: <87frn2v253.fsf@bootlin.com> (raw)
In-Reply-To: <20241030172149.3101873-1-colin.i.king@gmail.com> (Colin Ian King's message of "Wed, 30 Oct 2024 17:21:49 +0000")

Hi,

On 30/10/2024 at 17:21:49 GMT, Colin Ian King <colin.i.king@gmail.com> wrote:

> The check on ret and call to platform_driver_unregister is only required
> in the code path where MODULE is not defined. Fix this by moving this
> code into the relevant place after the call to phram_setup.
>
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Applied to mtd/next.

Thanks,
Miquèl

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2024-12-05 10:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-30 17:21 [PATCH][next] mtd: phram: only call platform_driver_unregister if phram_setup fails Colin Ian King
2024-10-30 17:21 ` Colin Ian King
2024-12-05 10:46 ` Miquel Raynal [this message]
2024-12-05 10:46   ` Miquel Raynal

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=87frn2v253.fsf@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=colin.i.king@gmail.com \
    --cc=joern@lazybastard.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    --cc=vigneshr@ti.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.