Page MenuHomeFreeBSD

thunderbolt: Factor out router_prepare_cmd()
ClosedPublic

Authored by obiwac on Mon, Sep 14, 2:23 PM.

Details

Summary

Two commits:

Common code between router_prepare_read() & router_prepare_write().
Eventually will be used by other commands (e.g. hotplugging) aswell.

Sponsored by: The FreeBSD Foundation

thunderbolt: Change len from int to size_t in router_prepare_{read,write}()

Suggested by: ngie
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable