OSDN Git Service

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)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 8 May 2019 21:33:02 +0000 (00:33 +0300)
commit6d1f8b3d75419a8659ac916a1e9543bb3513a882
tree23efb686eb0060d33bbbdc4dafbe2aeaeae11a2d
parent2ac8d46dce1b62d19be6a4fa37334c185b1c75fa
platform/x86: alienware-wmi: printing the wrong error code

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>
drivers/platform/x86/alienware-wmi.c