[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHp75VcODtDb8Y-6hrfqMtwSstn2DOYMSxNvdeG8VwYpUQ03uw@mail.gmail.com>
Date: Mon, 25 Nov 2019 21:06:06 +0200
From: Andy Shevchenko <andy.shevchenko@...il.com>
To: Akinobu Mita <akinobu.mita@...il.com>
Cc: Linux NVMe Mailinglist <linux-nvme@...ts.infradead.org>,
linux-hwmon@...r.kernel.org, Linux PM <linux-pm@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Sujith Thomas <sujith.thomas@...el.com>,
Darren Hart <dvhart@...radead.org>,
Andy Shevchenko <andy@...radead.org>,
Zhang Rui <rui.zhang@...el.com>,
Eduardo Valentin <edubezval@...il.com>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Amit Kucheria <amit.kucheria@...durent.com>,
Jean Delvare <jdelvare@...e.com>,
Guenter Roeck <linux@...ck-us.net>,
Keith Busch <kbusch@...nel.org>, Jens Axboe <axboe@...com>,
Christoph Hellwig <hch@....de>,
Sagi Grimberg <sagi@...mberg.me>
Subject: Re: [PATCH 3/8] platform/x86: asus-wmi: switch to use
<linux/temperature.h> helpers
On Mon, Nov 25, 2019 at 4:32 PM Akinobu Mita <akinobu.mita@...il.com> wrote:
> 2019年11月25日(月) 4:54 Andy Shevchenko <andy.shevchenko@...il.com>:
> > On Sun, Nov 24, 2019 at 4:09 PM Akinobu Mita <akinobu.mita@...il.com> wrote:
> > > - value = DECI_KELVIN_TO_CELSIUS((value & 0xFFFF)) * 1000;
> > > -
> > > - return sprintf(buf, "%d\n", value);
> >
> > > + return sprintf(buf, "%ld\n",
> > > + deci_kelvin_to_millicelsius(value & 0xFFFF));
> >
> > Leave it in one line.
>
> It causes this line over 80 characters.
And I don't care.
> Or do you prefer to save the
> conversion result in 'value' temporarily as before?
No.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists