Re: [PATCH 1/1 v2] input: usbhid: fix improper return value
From: Jiri Kosina
Date: Fri Dec 09 2016 - 07:47:14 EST
On Mon, 5 Dec 2016, Pan Bian wrote:
> Function hid_post_reset() should return negative error codes on
> failures. However, in its implementation, it incorrectly returns 1.
> This patch fixes the bug, returning proper error codes on failures.
Applied to for-4.10/upstream. Thanks,