Page MenuHomeFreeBSD

Move inclusion of opt_printf.h around so that we can compile all the SCSI modules outside of a sub-build from the kernel.
ClosedPublic

Authored by imp on Feb 17 2017, 5:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 18, 4:22 AM
Unknown Object (File)
Thu, Aug 15, 2:38 PM
Unknown Object (File)
Sat, Aug 10, 9:35 AM
Unknown Object (File)
Mon, Jul 29, 9:53 AM
Unknown Object (File)
May 8 2024, 3:58 PM
Unknown Object (File)
May 8 2024, 2:56 PM
Unknown Object (File)
Feb 16 2024, 1:24 AM
Unknown Object (File)
Feb 16 2024, 12:58 AM
Subscribers

Details

Reviewers
scottl
Group Reviewers
cam

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 7536
Build 7690: arc lint + arc unit

Event Timeline

imp retitled this revision from to Move inclusion of opt_printf.h around so that we can compile all the SCSI modules outside of a sub-build from the kernel..
imp updated this object.
imp edited the test plan for this revision. (Show Details)
imp added a reviewer: scottl.
sys/cam/cam_xpt.h
37

It turns out that including this in cam_xpt.h means that every single module that includes cam_xpt.h needs to have opt_printf.h in their Makefile, or it won't compile.

58–66

This is just used in cam_xpt.c, so belongs there, especially since having it in the .h causes dependency issues.

Seems sensible.

sys/conf/config.mk
30

Maybe don't set this? The CAM code will be the same as it already assumes a default of 128 if PRINT_BUFR_SIZE isnt' set.

sys/conf/config.mk
30

Hmmm, I'm torn between that and removing the fallback in the CAM code...

I do know that Scott has some other work in progress, though, that I need to wait to land before I polish this too much.

scottl edited edge metadata.
This revision is now accepted and ready to land.Feb 19 2017, 7:54 PM