Re: [PATCH] platform/x86: alienware-wmi: printing the wrong error code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 24, 2019 at 3:43 PM <Mario.Limonciello@xxxxxxxx> wrote:
>
> >Fixes: bc2ef884320b ("alienware-wmi: For WMAX HDMI method, introduce a way to query HDMI cable status")
> >Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Pushed to my review and testing queue, thanks!


> >---
> > 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 <mario.limonciello@xxxxxxxx>
>


-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux