Some application(like usbmuxd) start to use LIBUSB_SPEED_SUPER_PLUS now.
Though we don't have the corresponding infra in kernel right now, it is
harmless to have this enum to prevent the compile error
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/libusb/libusb20.3 | ||
---|---|---|
861 | Don't forget also updating .Dd field. 😆 Also I'm not sure if we need/want mention that we don't have the corresponding infra in kernel in the caveat section. |
Comment Actions
For someone who want to merge this patch, Thanks! https://github.com/aokblast/freebsd-src/commit/e1b577a32e31077549f192fa01543400329fefaa
lib/libusb/libusb20.3 | ||
---|---|---|
861 | I don't add anything to kernel. In kernel, it should use USB_SPEED_SUPER_PLUS which is the different enum from libusb one (with LIBUSB_SPEED in prefix). So I am not sure if we should add some warning on something nonexist. |
lib/libusb/libusb20.3 | ||
---|---|---|
861 | it's exactly because we don't have it supported in kernel, while having that in the interface and document so we may need to warn people that it doesn't take actual effect. |