[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e0d61fa5-03b9-1761-1578-f4fb5ce54d96@linuxfoundation.org>
Date: Thu, 29 Oct 2020 16:32:43 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Borislav Petkov <bp@...en8.de>
Cc: X86 ML <x86@...nel.org>, Thomas Renninger <trenn@...e.com>,
Shuah Khan <shuah@...nel.org>, Len Brown <lenb@...nel.org>,
linux-pm@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
Shuah Khan <skhan@...uxfoundation.org>
Subject: Re: [PATCH 1/4] tools/power/cpupower: Read energy_perf_bias from
sysfs
On 10/29/20 3:59 PM, Borislav Petkov wrote:
> On Thu, Oct 29, 2020 at 03:38:43PM -0600, Shuah Khan wrote:
>> All of the other ones should be changed as such. Why add more?
>
> Because a patch should do one thing and one thing only. So a separate
> patch which converts them all in one go should come ontop. But if you
> insist for the ones I'm adding to have error handling, I can do that, of
> course.
>
A separate patch is fine.
if (numwritten < 1) {
+ perror("write failed");
Please add filename to the error message.
Thanks. Since this depends on other changes, it can go through
tip once this error message change is made.
thanks,
-- Shuah
Powered by blists - more mailing lists