[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aHd4fOCoaAYdqbMy@smile.fi.intel.com>
Date: Wed, 16 Jul 2025 13:01:32 +0300
From: Andy Shevchenko <andriy.shevchenko@...el.com>
To: Sean Anderson <sean.anderson@...ux.dev>
Cc: Jonathan Cameron <jic23@...nel.org>, Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>, linux-iio@...r.kernel.org,
linux-hwmon@...r.kernel.org, Andy Shevchenko <andy@...nel.org>,
Nuno Sá <nuno.sa@...log.com>,
linux-kernel@...r.kernel.org, David Lechner <dlechner@...libre.com>
Subject: Re: [PATCH 6/7] hwmon: iio: Add min/max support
On Tue, Jul 15, 2025 at 12:05:15PM -0400, Sean Anderson wrote:
> On 7/15/25 04:41, Andy Shevchenko wrote:
> > On Mon, Jul 14, 2025 at 09:20:22PM -0400, Sean Anderson wrote:
...
> >> + return sprintf(buf, "%d\n", result);
> >
> > Mustn't be sysfs_emit() ?
>
> It doesn't matter in this case (as %d can never emit more
> than 20ish characters), but that works too.
Have you read the documentation? It uses word 'must'...
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists