Skip to content
Commit ff67dbd5 authored by Qiu Wenbo's avatar Qiu Wenbo Committed by Hans de Goede
Browse files

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: ff36b0d9 ("platform/x86: ideapad-laptop: rework and create new ACPI helpers")
Signed-off-by: default avatarQiu Wenbo <qiuwenbo@kylinos.com.cn>
Acked-by: default avatarIke Panhc <ike.pan@canonical.com>
Link: https://lore.kernel.org/r/20210428050636.8003-1-qiuwenbo@kylinos.com.cn


Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 6efb943b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment