Re: [PATCH] acer-wmi: Using zero as the first WMI instance number

2017-06-20 Thread joeyli
On Tue, Jun 20, 2017 at 02:45:56PM -0700, Darren Hart wrote: > On Tue, Jun 20, 2017 at 10:46:12PM +0200, Pali Rohár wrote: > > On Tuesday 20 June 2017 19:22:46 Andy Shevchenko wrote: > > > On Tue, Jun 20, 2017 at 7:48 PM, Pali Rohár > > > wrote: > > > > On Tuesday 20 June 2017 17:06:23 Lee, Chun-Y

Re: [PATCH] acer-wmi: Using zero as the first WMI instance number

2017-06-20 Thread Darren Hart
On Tue, Jun 20, 2017 at 10:46:12PM +0200, Pali Rohár wrote: > On Tuesday 20 June 2017 19:22:46 Andy Shevchenko wrote: > > On Tue, Jun 20, 2017 at 7:48 PM, Pali Rohár > > wrote: > > > On Tuesday 20 June 2017 17:06:23 Lee, Chun-Yi wrote: > > >> Pali Rohár found that there have some wmi query/evaluat

Re: [PATCH] acer-wmi: Using zero as the first WMI instance number

2017-06-20 Thread Pali Rohár
On Tuesday 20 June 2017 19:22:46 Andy Shevchenko wrote: > On Tue, Jun 20, 2017 at 7:48 PM, Pali Rohár > wrote: > > On Tuesday 20 June 2017 17:06:23 Lee, Chun-Yi wrote: > >> Pali Rohár found that there have some wmi query/evaluation > >> code that they used 'one' as the first WMI instance number. >

Re: [PATCH] acer-wmi: Using zero as the first WMI instance number

2017-06-20 Thread Andy Shevchenko
On Tue, Jun 20, 2017 at 7:48 PM, Pali Rohár wrote: > On Tuesday 20 June 2017 17:06:23 Lee, Chun-Yi wrote: >> Pali Rohár found that there have some wmi query/evaluation >> code that they used 'one' as the first WMI instance number. >> But the number is indexed from zero that it's must less than >>

Re: [PATCH] acer-wmi: Using zero as the first WMI instance number

2017-06-20 Thread Pali Rohár
On Tuesday 20 June 2017 17:06:23 Lee, Chun-Yi wrote: > Pali Rohár found that there have some wmi query/evaluation > code that they used 'one' as the first WMI instance number. > But the number is indexed from zero that it's must less than > the instance_count in _WDG. > > This patch changes those