diff options
author | Lee, Chun-Yi <joeyli.kernel@gmail.com> | 2017-06-20 17:06:23 +0800 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-06-20 20:23:17 +0300 |
commit | 62fc743cafd07e134292d510827a80b3c01df784 (patch) | |
tree | 2d8a96d0c5b346eb100ae7a6966f4244804f1a6e /drivers/platform/x86/dell-laptop.c | |
parent | b2f2fe205c3b9b595dc50ee431230a45d03f9c2c (diff) | |
download | lwn-62fc743cafd07e134292d510827a80b3c01df784.tar.gz lwn-62fc743cafd07e134292d510827a80b3c01df784.zip |
platform/x86: acer-wmi: Using zero as first WMI instance number
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@infradead.org>
Cc: Andy Shevchenko <andy@infradead.org>
Reviewed-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: "Lee, Chun-Yi" <jlee@suse.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/dell-laptop.c')
0 files changed, 0 insertions, 0 deletions