[<prev] [next>] [day] [month] [year] [list]
Message-ID: <ZLqMNU6XtTEO2a1R@smile.fi.intel.com>
Date: Fri, 21 Jul 2023 16:46:29 +0300
From: Andy Shevchenko <andy@...nel.org>
To: Stephen Boyd <sboyd@...nel.org>
Cc: Alessandro Zummo <a.zummo@...ertech.it>,
Alexander Sverdlin <alexander.sverdlin@...il.com>,
Alexandre Belloni <alexandre.belloni@...tlin.com>,
Arnd Bergmann <arnd@...db.de>,
Bartosz Golaszewski <brgl@...ev.pl>,
Conor Dooley <conor+dt@...nel.org>,
Damien Le Moal <dlemoal@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
"David S. Miller" <davem@...emloft.net>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Eric Dumazet <edumazet@...gle.com>,
Guenter Roeck <linux@...ck-us.net>,
Hartley Sweeten <hsweeten@...ionengravers.com>,
Jakub Kicinski <kuba@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Kris Bahnsen <kris@...eddedts.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Lennert Buytenhek <kernel@...tstofly.org>,
Liam Girdwood <lgirdwood@...il.com>,
Linus Walleij <linus.walleij@...aro.org>,
Lukasz Majewski <lukma@...x.de>,
Mark Brown <broonie@...nel.org>,
Michael Peters <mpeters@...eddedts.com>,
Michael Turquette <mturquette@...libre.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Nikita Shubin <nikita.shubin@...uefel.me>,
Nikita Shubin via B4 Relay
<devnull+nikita.shubin.maquefel.me@...nel.org>,
Olof Johansson <olof@...om.net>,
Paolo Abeni <pabeni@...hat.com>,
Richard Weinberger <richard@....at>,
Rob Herring <robh+dt@...nel.org>,
Russell King <linux@...linux.org.uk>,
Sebastian Reichel <sre@...nel.org>,
Sergey Shtylyov <s.shtylyov@....ru>,
Takashi Iwai <tiwai@...e.com>,
Thierry Reding <thierry.reding@...il.com>,
Thomas Gleixner <tglx@...utronix.de>,
Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>,
Vignesh Raghavendra <vigneshr@...com>,
Vinod Koul <vkoul@...nel.org>,
Wim Van Sebroeck <wim@...ux-watchdog.org>, soc@...nel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-gpio@...r.kernel.org, devicetree@...r.kernel.org,
linux-clk@...r.kernel.org, linux-rtc@...r.kernel.org,
linux-watchdog@...r.kernel.org, linux-pm@...r.kernel.org,
linux-pwm@...r.kernel.org, linux-spi@...r.kernel.org,
netdev@...r.kernel.org, dmaengine@...r.kernel.org,
linux-mtd@...ts.infradead.org, linux-ide@...r.kernel.org,
linux-input@...r.kernel.org, alsa-devel@...a-project.org
Subject: Re: [PATCH v3 03/42] clk: ep93xx: add DT support for Cirrus EP93xx
On Thu, Jul 20, 2023 at 04:27:45PM -0700, Stephen Boyd wrote:
> Quoting Nikita Shubin via B4 Relay (2023-07-20 04:29:03)
...
> > +static bool is_best(unsigned long rate, unsigned long now,
> > + unsigned long best)
> > +{
> > + return abs(rate - now) < abs(rate - best);
>
> Another case where we need abs_diff() so that it doesn't get confused
> when trying to do signed comparison.
Here you are: Message-Id: <20230721134235.15517-1-andriy.shevchenko@...ux.intel.com>
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists