Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1504316

Re: [PATCH] toshiba-wmi: Fix loading the driver on non Toshiba laptops

From Darren Hart <dvhart@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] toshiba-wmi: Fix loading the driver on non Toshiba laptops
Date 2016-10-19 22:30 +0200
Message-ID <su5ER-6dF-1@gated-at.bofh.it> (permalink)
References <sa82C-4Je-23@gated-at.bofh.it> <sbbKN-4tS-11@gated-at.bofh.it> <sruzM-6Ti-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Oct 12, 2016 at 10:26:43AM -0600, Azael Avalos wrote:
> *ping*
> 
> 2016-08-28 11:00 GMT-06:00 Darren Hart <dvhart@infradead.org>:
> > On Thu, Aug 25, 2016 at 12:50:55PM -0600, Azael Avalos wrote:
> >> Bug 150611 uncovered that the WMI ID used by the toshiba-wmi driver
> >> is not Toshiba specific, and as such, the driver was being loaded
> >> on non Toshiba laptops too.
> >>
> >> This patch adds a DMI matching list checking for TOSHIBA as the
> >> vendor, refusing to load if it is not.
> >>
> >> Also the WMI GUID was renamed, dropping the TOSHIBA_ prefix, to
> >> better reflect that such GUID is not a Toshiba specific one.
> >>
> >> Cc: <stable@vger.kernel.org> # 4.4+
> >> Signed-off-by: Azael Avalos <coproscefalo@gmail.com>
> >> ---
> >> Hi Darren,
> >>
> >> I was waiting on input from the bug above, but haven't received an
> >> answer (as of yet), so I decided to send this to the mailing list
> >> for feedback as to whether this is the correct approach for this
> >> issue.
> >
> > Thanks. Let's see if Carlos (wmi.c author) has an opinion...
> >
> > Carlos?
> 
> Any input on this?

Looks like a sane workaround to me. Queued to fixes.

Want to going to stable?
-- 
Darren Hart
Intel Open Source Technology Center

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH] toshiba-wmi: Fix loading the driver on non Toshiba  laptops Darren Hart <dvhart@infradead.org> - 2016-10-19 22:30 +0200
  Re: [PATCH] toshiba-wmi: Fix loading the driver on non Toshiba laptops Azael Avalos <coproscefalo@gmail.com> - 2016-10-20 01:30 +0200
    Re: [PATCH] toshiba-wmi: Fix loading the driver on non Toshiba  laptops Darren Hart <dvhart@infradead.org> - 2016-10-21 07:10 +0200

csiph-web