diff options
author | Qiu Wenbo <qiuwenbo@kylinos.com.cn> | 2021-04-28 08:06:36 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2021-05-11 14:36:10 +0300 |
commit | ff67dbd554b2aaa22be933eced32610ff90209dd (patch) | |
tree | b5d247812d48f822befc72646308c0d3e81f73c5 /drivers/misc | |
parent | 6efb943b8616ec53a5e444193dccf1af9ad627b5 (diff) | |
download | linux-ff67dbd554b2aaa22be933eced32610ff90209dd.tar.xz |
platform/x86: ideapad-laptop: fix a NULL pointer dereference
The third parameter of dytc_cql_command should not be NULL since it will
be dereferenced immediately.
Fixes: ff36b0d953dc4 ("platform/x86: ideapad-laptop: rework and create new ACPI helpers")
Signed-off-by: Qiu Wenbo <qiuwenbo@kylinos.com.cn>
Acked-by: Ike Panhc <ike.pan@canonical.com>
Link: https://lore.kernel.org/r/20210428050636.8003-1-qiuwenbo@kylinos.com.cn
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions