Re: [PATCH] iio: core: Avoid BUG() on invalid clock types
Andy Shevchenko <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Organization | Intel Finland Oy - BIC 0357606-4 - c/o Alberga Business Park, 6 krs, Bertel Jungin Aukio 5, 02600 Espoo |
| Message-ID | <[email protected]> |
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