[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAC5umyiHsidih_VBvEOT4ApXR_ocBTqCvfFcg-gs9imcZczf6Q@mail.gmail.com>
Date: Tue, 26 Nov 2019 23:34:36 +0900
From: Akinobu Mita <akinobu.mita@...il.com>
To: Andy Shevchenko <andy.shevchenko@...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 4/8] platform/x86: intel_menlow: switch to use
<linux/temperature.h> helpers
2019年11月26日(火) 4:07 Andy Shevchenko <andy.shevchenko@...il.com>:
>
> On Mon, Nov 25, 2019 at 4:35 PM Akinobu Mita <akinobu.mita@...il.com> wrote:
> > 2019年11月25日(月) 4:58 Andy Shevchenko <andy.shevchenko@...il.com>:
> > > On Sun, Nov 24, 2019 at 4:09 PM Akinobu Mita <akinobu.mita@...il.com> wrote:
>
> > > > - return result ? result : sprintf(buf, "%lu", DECI_KELVIN_TO_CELSIUS(value));
> > > > + return sprintf(buf, "%ld", deci_kelvin_to_celsius(value));
> > >
> > > Can you explain the change %lu to %ld?
> >
> > Isn't it possible for aux values to be lower than 0 degrees Celsius?
>
> If it's a change due to requirement of new helpers, put it in the
> commit message, otherwise leave as is.
OK, I'll leave it as is.
The format string will be fixed by a separate patch.
Powered by blists - more mailing lists