RE: [PATCH next] HID: intel-thc-hid: intel-thc: Fix error code in thc_i2c_subip_init()
From: Xu, Even
Date: Mon Jan 13 2025 - 19:15:20 EST
Thanks Benjamin!
Best Regards,
Even Xu
> -----Original Message-----
> From: Benjamin Tissoires <bentiss@xxxxxxxxxx>
> Sent: Monday, January 13, 2025 6:09 PM
> To: Xu, Even <even.xu@xxxxxxxxx>; Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> Cc: Sun, Xinpeng <xinpeng.sun@xxxxxxxxx>; Jiri Kosina <jikos@xxxxxxxxxx>; Mark
> Pearson <mpearson-lenovo@xxxxxxxxx>; Srinivas Pandruvada
> <srinivas.pandruvada@xxxxxxxxxxxxxxx>; linux-input@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx; kernel-janitors@xxxxxxxxxxxxxxx
> Subject: Re: [PATCH next] HID: intel-thc-hid: intel-thc: Fix error code in
> thc_i2c_subip_init()
>
> On Mon, 13 Jan 2025 09:15:41 +0300, Dan Carpenter wrote:
> > Return -ENOMEM if the allocation fails. Don't return success.
> >
> >
>
> Applied to hid/hid.git (for-6.14/intel-thc), thanks!
>
> [1/1] HID: intel-thc-hid: intel-thc: Fix error code in thc_i2c_subip_init()
> https://git.kernel.org/hid/hid/c/0b0d62fa73f2
>
> Cheers,
> --
> Benjamin Tissoires <bentiss@xxxxxxxxxx>