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

From: Darren Hart
Date: Tue Jun 20 2017 - 17:46:13 EST


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 <pali.rohar@xxxxxxxxx>
> > 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
> > >> the instance_count in _WDG.
> > >>
> > >> This patch changes those instance number from one to zero.
> > >>
> > >> Cc: Darren Hart <dvhart@xxxxxxxxxxxxx>
> > >> Cc: Andy Shevchenko <andy@xxxxxxxxxxxxx>
> > >> Cc: Pali Rohár <pali.rohar@xxxxxxxxx>
> > >> Signed-off-by: "Lee, Chun-Yi" <jlee@xxxxxxxx>
> > >
> > > Looks good, Reviewed-by: Pali Rohár <pali.rohar@xxxxxxxxx>
> >
> > Unfortunately patchwork ignores this tag.
> > So, in the future please:
> > - put a tag on a separate line
> > - do _not_ prepend it by any characters including white spaces
> > (except new line :-) )
>
> I have not known that those lines are parsed automatically.
> Will do it in future!

:-) Thanks!

For reference, Patchwork tally's such things in the patch list view:
https://patchwork.kernel.org/project/platform-driver-x86/list/

And, selfishly, the more normalized these are, the less likely Andy and I are to
make mistakes manipulating them into the patches.

--
Darren Hart
VMware Open Source Technology Center