Page MenuHomeFreeBSD

Add sbuf variants ata_cmd_sbuf() and ata_res_sbuf()
ClosedPublic

Authored by scottl on Apr 13 2016, 6:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 30, 7:25 AM
Unknown Object (File)
Sat, Mar 28, 2:05 PM
Unknown Object (File)
Tue, Mar 24, 8:45 PM
Unknown Object (File)
Sun, Mar 22, 7:16 AM
Unknown Object (File)
Sat, Mar 21, 7:18 AM
Unknown Object (File)
Sat, Mar 21, 12:34 AM
Unknown Object (File)
Sun, Mar 15, 7:04 PM
Unknown Object (File)
Tue, Mar 3, 10:23 PM
Subscribers
None

Details

Summary

Add ata_cmd_sbuf() and implement ata_cmd_string() in terms of it. Change
ata_res_sbuf() so that ata_res_string() can be implemented in terms of it.
I'm not happy about this change, but its use seems to be very narrowly
limited, and this change makes the API more consistent.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

scottl retitled this revision from to Add sbuf variants ata_cmd_sbuf() and ata_res_sbuf().
scottl updated this object.
scottl edited the test plan for this revision. (Show Details)
scottl added reviewers: mav, imp, ken.
imp edited edge metadata.
This revision is now accepted and ready to land.Apr 13 2016, 6:46 PM
mav edited edge metadata.
scottl edited edge metadata.

Lost a small piece of printf formatting in the last revision, restore it.

This revision now requires review to proceed.Apr 13 2016, 7:53 PM
ken edited edge metadata.

Looks good!

This revision is now accepted and ready to land.Apr 13 2016, 8:07 PM