]> git.hungrycats.org Git - linux/commit
platform/x86: alienware-wmi: printing the wrong error code
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 24 Apr 2019 09:44:18 +0000 (12:44 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 23 Sep 2019 20:12:02 +0000 (21:12 +0100)
commitfc068421cdd6e112582ccd255b492be64d1b2f21
tree81baedcb43b8034af2aa149a63c18105f94329cf
parent993b03c917d72759a638b266ceb5652a1ee84dc7
platform/x86: alienware-wmi: printing the wrong error code

commit 6d1f8b3d75419a8659ac916a1e9543bb3513a882 upstream.

The "out_data" variable is uninitialized at the point.  Originally, this
used to print "status" instead and that seems like the correct thing to
print.

Fixes: bc2ef884320b ("alienware-wmi: For WMAX HDMI method, introduce a way to query HDMI cable status")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Mario Limonciello <mario.limonciello@dell.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/platform/x86/alienware-wmi.c