2022-12-22 05:11:47

by Thomas Weißschuh

[permalink] [raw]
Subject: [PATCH 1/8] HID: letsketch: Use hid_is_usb()

Don't open code existing functionality.

Signed-off-by: Thomas Weißschuh <[email protected]>
---
drivers/hid/hid-letsketch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/hid/hid-letsketch.c b/drivers/hid/hid-letsketch.c
index 74d17cf518ba..97f047f18136 100644
--- a/drivers/hid/hid-letsketch.c
+++ b/drivers/hid/hid-letsketch.c
@@ -238,7 +238,7 @@ static int letsketch_probe(struct hid_device *hdev, const struct hid_device_id *
char buf[256];
int i, ret;

- if (!hid_is_using_ll_driver(hdev, &usb_hid_driver))
+ if (!hid_is_usb(hdev))
return -ENODEV;

intf = to_usb_interface(hdev->dev.parent);

--
2.39.0


2022-12-22 06:08:31

by bluez.test.bot

[permalink] [raw]
Subject: RE: HID: remove some unneeded exported symbols from hid.h

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=706392

---Test result---

Test Summary:
CheckPatch PASS 6.97 seconds
GitLint PASS 2.49 seconds
SubjectPrefix FAIL 0.98 seconds
BuildKernel PASS 38.63 seconds
CheckAllWarning PASS 41.68 seconds
CheckSparse PASS 47.37 seconds
BuildKernel32 PASS 37.00 seconds
TestRunnerSetup PASS 522.93 seconds
TestRunner_l2cap-tester PASS 18.46 seconds
TestRunner_iso-tester PASS 20.10 seconds
TestRunner_bnep-tester PASS 6.85 seconds
TestRunner_mgmt-tester PASS 125.54 seconds
TestRunner_rfcomm-tester PASS 10.65 seconds
TestRunner_sco-tester PASS 9.85 seconds
TestRunner_ioctl-tester PASS 11.63 seconds
TestRunner_mesh-tester PASS 8.59 seconds
TestRunner_smp-tester PASS 9.65 seconds
TestRunner_userchan-tester PASS 7.27 seconds
IncrementalBuild PASS 76.47 seconds

Details
##############################
Test: SubjectPrefix - FAIL
Desc: Check subject contains "Bluetooth" prefix
Output:
"Bluetooth: " prefix is not specified in the subject
"Bluetooth: " prefix is not specified in the subject
"Bluetooth: " prefix is not specified in the subject
"Bluetooth: " prefix is not specified in the subject
"Bluetooth: " prefix is not specified in the subject
"Bluetooth: " prefix is not specified in the subject
"Bluetooth: " prefix is not specified in the subject
"Bluetooth: " prefix is not specified in the subject


---
Regards,
Linux Bluetooth