mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Finn Thain <fthain@linux-m68k.org>
Cc: Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>,
	Daniel Palmer <daniel@0x0f.com>,
	 linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] nubus: Call put_device() in bus initialization error path
Date: Mon, 26 Jan 2026 12:21:06 +0100	[thread overview]
Message-ID: <CAMuHMdWb41i2mCU0Ob7pDaL1zJVgpJtXKFCWCf+XsoigF3OSag@mail.gmail.com> (raw)
In-Reply-To: <478d5f080d74b6688c9e3f9132e3fe251e997ad7.1765610469.git.fthain@linux-m68k.org>

On Sat, 13 Dec 2025 at 08:21, Finn Thain <fthain@linux-m68k.org> wrote:
> The error path for bus initialization is missing a call to put_device().
> Add that call. This error path will probably never actually execute, but
> any kernel source code may be subject to static checking or re-use.
>
> Cc: Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>
> Cc: Daniel Palmer <daniel@0x0f.com>
> Suggested-by: Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>
> Signed-off-by: Finn Thain <fthain@linux-m68k.org>

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
i.e. will queue in the m68k tree for v6.20.

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

      parent reply	other threads:[~2026-01-26 11:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-13  7:21 Finn Thain
2025-12-13  8:58 ` Daniel Palmer
2026-01-26 11:21 ` Geert Uytterhoeven [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=CAMuHMdWb41i2mCU0Ob7pDaL1zJVgpJtXKFCWCf+XsoigF3OSag@mail.gmail.com \
    --to=geert@linux-m68k.org \
    --cc=daniel@0x0f.com \
    --cc=fthain@linux-m68k.org \
    --cc=lihaoxiang@isrc.iscas.ac.cn \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-m68k@lists.linux-m68k.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®