[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <nycvar.YFH.7.76.2106241405110.18969@cbobk.fhfr.pm>
Date: Thu, 24 Jun 2021 14:05:26 +0200 (CEST)
From: Jiri Kosina <jikos@...nel.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
cc: benjamin.tissoires@...hat.com, linux-usb@...r.kernel.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] HID: usbhid: hid-pidff: Fix missing error code in
hid_pidff_init()
On Tue, 1 Jun 2021, Jiapeng Chong wrote:
> The error code is missing in this code scenario, add the error code
> '-EINVAL' to the return value 'error'.
>
> Eliminate the follow smatch warning:
>
> drivers/hid/usbhid/hid-pidff.c:1297 hid_pidff_init() warn: missing error
> code 'error'.
>
> Reported-by: Abaci Robot <abaci@...ux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
This has already been fixed in hid.git via 3dd653c077efd.
Thanks,
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists