aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorLee, Chun-Yi <[email protected]>2017-06-20 17:06:23 +0800
committerAndy Shevchenko <[email protected]>2017-06-20 20:23:17 +0300
commit62fc743cafd07e134292d510827a80b3c01df784 (patch)
tree2d8a96d0c5b346eb100ae7a6966f4244804f1a6e /net/switchdev/switchdev.c
parentb2f2fe205c3b9b595dc50ee431230a45d03f9c2c (diff)
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 <[email protected]> Cc: Andy Shevchenko <[email protected]> Reviewed-by: Pali Rohár <[email protected]> Signed-off-by: "Lee, Chun-Yi" <[email protected]> Signed-off-by: Andy Shevchenko <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions