Page MenuHomeFreeBSD

libusb: refactor the process of setting option when init the context.
Needs ReviewPublic

Authored by aokblast on Jul 9 2025, 9:42 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 11, 12:53 PM
Unknown Object (File)
Sat, Apr 11, 12:40 AM
Unknown Object (File)
Fri, Apr 10, 8:53 PM
Unknown Object (File)
Tue, Apr 7, 9:15 PM
Unknown Object (File)
Sat, Apr 4, 2:14 PM
Unknown Object (File)
Wed, Apr 1, 2:20 AM
Unknown Object (File)
Mon, Mar 30, 9:04 PM
Unknown Object (File)
Thu, Mar 26, 6:54 AM
Subscribers

Details

Reviewers
bapt
kevans
Group Reviewers
USB
Summary

From
https://github.com/libusb/libusb/commit/6622f386f52807dac76c8a260c98aa02c311bc93#diff-c1f9bc250077d41456a3e580fca0ddf5d8c25b741bff6d9b9505990a8b70b254R2358.
We are able to set all of the option from the init_context. To address
this, we modify the process of setting option in init_context to make it be more clear and then
adapat libusb_set_option inside to all other option.

Sponsored By: FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 66158
Build 63041: arc lint + arc unit