The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Andy Shevchenko <andriy.shevchenko@intel.com>
To: Rishab Madhugiri <rishab.madhugiri@gmail.com>
Cc: jic23@kernel.org, dlechner@baylibre.com, nuno.sa@analog.com,
	andy@kernel.org, linux-iio@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: core: Avoid BUG() on invalid clock types
Date: Mon, 24 Aug 2026 12:55:47 +0300	[thread overview]
Message-ID: <aowVI_n7s0VAmN3D@ashevche-desk.local> (raw)
In-Reply-To: <20260823222502.30764-1-rishab.madhugiri@gmail.com>

On Sun, Aug 23, 2026 at 10:25:02PM +0000, Rishab Madhugiri wrote:
> Replace deprecated use of BUG() in default switch cases of
> iio_get_time_ns() and current_timestamp_clock_show() with
> WARN_ONCE() and return correct fallback or error codes.

Why?!

-- 
With Best Regards,
Andy Shevchenko



  parent reply	other threads:[~2026-08-24  9:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-23 22:25 [PATCH] iio: core: Avoid BUG() on invalid clock types Rishab Madhugiri
2026-08-23 22:48 ` Jonathan Cameron
2026-08-24  9:55 ` Andy Shevchenko [this message]
2026-08-24 10:05   ` Joshua Crofts
2026-08-24 14:48     ` Andy Shevchenko
2026-08-24 15:06       ` Joshua Crofts
2026-08-24 15:25         ` Andy Shevchenko
2026-08-25 23:48           ` Rishab M

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=aowVI_n7s0VAmN3D@ashevche-desk.local \
    --to=andriy.shevchenko@intel.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    --cc=rishab.madhugiri@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox