Re: [PATCH] platform/x86: dell-wmi-sysman: correct an initialization failure

2021-02-19 Thread Hans de Goede
gt;> Bharathi, Divya; Alexander Naumann >> Subject: Re: [PATCH] platform/x86: dell-wmi-sysman: correct an initialization >> failure >> >> >> [EXTERNAL EMAIL] >> >> On Thu, Feb 18, 2021 at 01:17:23PM -0600, Mario Limonciello wrote: >>> On Dell systems t

RE: [PATCH] platform/x86: dell-wmi-sysman: correct an initialization failure

2021-02-18 Thread Limonciello, Mario
> -Original Message- > From: mark gross > Sent: Thursday, February 18, 2021 16:49 > To: Limonciello, Mario > Cc: Hans De Goede; Mark Gross; LKML; platform-driver-...@vger.kernel.org; > Bharathi, Divya; Alexander Naumann > Subject: Re: [PATCH] platform/x86: del

Re: [PATCH] platform/x86: dell-wmi-sysman: correct an initialization failure

2021-02-18 Thread mark gross
On Thu, Feb 18, 2021 at 01:17:23PM -0600, Mario Limonciello wrote: > On Dell systems that don't support this interface the module is > mistakingly returning error code "0", when it should be returning > -ENODEV. Correct a logic error to guarantee the correct return code. > > Cc: Divya Bharathi

[PATCH] platform/x86: dell-wmi-sysman: correct an initialization failure

2021-02-18 Thread Mario Limonciello
On Dell systems that don't support this interface the module is mistakingly returning error code "0", when it should be returning -ENODEV. Correct a logic error to guarantee the correct return code. Cc: Divya Bharathi Reported-by: Alexander Naumann Signed-off-by: Mario Limonciello ---