From mboxrd@z Thu Jan 1 00:00:00 1970 From: Date: Wed, 24 Apr 2019 12:43:05 +0000 Subject: Re: [PATCH] platform/x86: alienware-wmi: printing the wrong error code Message-Id: <1556109784971.72307@Dell.com> List-Id: References: <20190424094417.GA15818@mwanda> In-Reply-To: <20190424094417.GA15818@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kernel-janitors@vger.kernel.org >Fixes: bc2ef884320b ("alienware-wmi: For WMAX HDMI method, introduce a way to query HDMI cable status") >Signed-off-by: Dan Carpenter >--- > drivers/platform/x86/alienware-wmi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/drivers/platform/x86/alienware-wmi.c b/drivers/platform/x86/alienware-wmi.c >index c0d1555735cd..83fd7677af24 100644 >--- a/drivers/platform/x86/alienware-wmi.c >+++ b/drivers/platform/x86/alienware-wmi.c >@@ -587,7 +587,7 @@ static ssize_t show_hdmi_source(struct device *dev, > return scnprintf(buf, PAGE_SIZE, > "input [gpu] unknown\n"); > } >- pr_err("alienware-wmi: unknown HDMI source status: %d\n", out_data); >+ pr_err("alienware-wmi: unknown HDMI source status: %u\n", status); > return scnprintf(buf, PAGE_SIZE, "input gpu [unknown]\n"); > } > >-- >2.18.0 Yes, thanks. Reviewed-by: Mario Limonciello