All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Gleixner <tglx@kernel.org>
To: Zhan Xusheng <zhanxusheng1024@gmail.com>
Cc: linux-kernel@vger.kernel.org, Zhan Xusheng <zhanxusheng@xiaomi.com>
Subject: Re: [PATCH] clocksource: Update registration failure behavior documentation
Date: Wed, 11 Feb 2026 14:10:05 +0100	[thread overview]
Message-ID: <87v7g38lzm.ffs@tglx> (raw)
In-Reply-To: <20260210025603.143764-1-zhanxusheng@xiaomi.com>

On Tue, Feb 10 2026 at 10:56, Zhan Xusheng wrote:
> The documentation for clocksource registration functions has been updated
> to clarify the failure behavior. Specifically, the return value on failure
> is no longer an error code (-EBUSY). Instead, the function will issue
> warnings but always return 0 on failure, as previously successful
> registration attempts might still leave the system in an inconsistent
> state.

This changelog is completely made up. Which failure is ignored there and
whats the inconsistent state of a previous attempt?

The -EBUSY comment is a leftover from the original implementation. and
the pr_warn() about the vdso clock mode is harmless as it still leaves
the system in a consistent state. Just the VDSO functionality is not
enabled.

This AI slop starts to become annoying.

Thanks,

        tglx

      reply	other threads:[~2026-02-11 13:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-10  2:56 [PATCH] clocksource: Update registration failure behavior documentation Zhan Xusheng
2026-02-11 13:10 ` Thomas Gleixner [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=87v7g38lzm.ffs@tglx \
    --to=tglx@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zhanxusheng1024@gmail.com \
    --cc=zhanxusheng@xiaomi.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.