mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Petr Mladek <pmladek@suse.com>
To: Feng Tang <feng.tang@linux.alibaba.com>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] panic: remove the unneeded panic_print_get()
Date: Thu, 3 Sep 2026 16:01:46 +0200	[thread overview]
Message-ID: <apl9yt83vksVL7A6@pathway.suse.cz> (raw)
In-Reply-To: <20260902114851.77062-1-feng.tang@linux.alibaba.com>

On Wed 2026-09-02 19:48:51, Feng Tang wrote:
> panic_print_get() was introduced in commit 2683df6539cb ("panic: add
> note that 'panic_print' parameter is deprecated") to print out warning
> message of the deprecation of 'panic_print' on read access.
> 
> Since commit 90f3c123247e ("panic: only warn about deprecated panic_print
> on write access"), panic_print_get() wrapper is not needed anymore for
> read access, so remove it and use param_get_ulong() instead.
> 
> Signed-off-by: Feng Tang <feng.tang@linux.alibaba.com>

Nice cleanup.

Reviewed-by: Petr Mladek <pmladek@suse.com>

Best Regards,
Petr

      parent reply	other threads:[~2026-09-03 14:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-02 11:48 Feng Tang
2026-09-02 12:28 ` Bradley Morgan
2026-09-03 14:01 ` Petr Mladek [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=apl9yt83vksVL7A6@pathway.suse.cz \
    --to=pmladek@suse.com \
    --cc=akpm@linux-foundation.org \
    --cc=feng.tang@linux.alibaba.com \
    --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®