hog-lib: Fix passing wrong parameters to bt_uhid_get_report_reply
Luiz Augusto von Dentz
maintainerPATCH 1/1 hog-lib: Fix passing wrong parameters to bt_uhid_get_report_reply
From: Luiz Augusto von Dentz <[email protected]>
The parameters of bt_uhid_get_report_reply are number followed by status, not status followed by number, so the order needs to be swapped.
--- profiles/input/hog-lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
profiles/input/hog-lib.c +1 -1
@@ -904,7 +904,7 @@ static void report_reply(struct bt_hog *hog, uint8_t status, uint8_t id, hog->getrep_att =0 ; - err =bt_uhid_get_report_reply (hog->uhid, hog->getrep_id, status, id, + err =bt_uhid_get_report_reply (hog->uhid, hog->getrep_id, id, status, data, len);if (err <0 )error ("bt_uhid_get_report_reply: %s" ,strerror (-err));
Signature · 1 line
2.45.2
This is automated email and please do not reply to this email!
Dear submitter,
Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=865048
---Test result---
Test Summary:
CheckPatch PASS 0.42 seconds GitLint PASS 0.29 seconds BuildEll PASS 26.02 seconds BluezMake PASS 1663.87 seconds MakeCheck PASS 13.46 seconds MakeDistcheck PASS 178.03 seconds CheckValgrind PASS 251.27 seconds CheckSmatch PASS 354.36 seconds bluezmakeextell PASS 120.09 seconds IncrementalBuild PASS 1417.64 seconds ScanBuild PASS 998.78 seconds
---
Regards,
Linux Bluetooth
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Hello:
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:
Quoted 9 lines · On Mon, 24 Jun 2024 16:13:24 -0400 you wrote:
From: Luiz Augusto von Dentz <[email protected]>
The parameters of
bt_uhid_get_report_replyare number followed by status, not status followed by number, so the order needs to be swapped.[...]
Here is the summary with links:
- [BlueZ,v1] hog-lib: Fix passing wrong parameters to bt_uhid_get_report_reply
https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=5ebaeab4164f
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html