Re: [PATCH] Bluetooth: hidp: Fix error checks in hidp_get/set_raw_report
From: Dan Elkouby <hidden>
Date: 2019-09-06 10:40:30
Also in:
linux-bluetooth, lkml
From: Dan Elkouby <hidden>
Date: 2019-09-06 10:40:30
Also in:
linux-bluetooth, lkml
On Fri, Sep 6, 2019 at 1:14 PM Dan Carpenter wrote:
I think we also need to update update ms_ff_worker() which assumes that hid_hw_output_report() returns zero on success.
Yes, it looks like that's the case. Should I amend my patch to include this fix, or should it be a separate patch? I don't have access to any hardware covered by hid-microsoft, so I won't be able to test it.
Please use the Fixes
tag for this since a lot of scripts rely on it to decide what to
backport.
Fixes: 48d9cc9d85dd ("Bluetooth: hidp: Let hidp_send_message return number of queued bytes")Will do.
Otherwise, it looks good. Thanks for catching this.
Thanks for taking a look! (Sorry for sending this twice, I'm not used to mailing lists and forgot to reply to all.)