Provide flexibility to use format strings for gone_in(). As a side
effect, this removes hardcoded string "Obsolete code will be removed
soon:" from the message, so now it is obligation of the deprecated code to
provide a meaningful message. This required a small adoption of the
existing users: midi, drm2 and le(4). Note that gone_in() is not a public
KPI as it has no sense to use it outside of the FreeBSD tree.
Details
Details
- Reviewers
imp - Commits
- rG01addd846c64: gone_in: make it __printflike()
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/dev/drm2/drm_os_freebsd.h | ||
---|---|---|
161 | All this can just be deleted. We *ONLY* use this on arm these days.... And it's not deprecated there, eh? It will go away when armv7 goes away. | |
sys/dev/le/lance.c | ||
197 | maybe we should just delete this driver, since we've warned it for a while... | |
sys/dev/sound/midi/sequencer.c | ||
523 | I think this is going away. | |
743 | Same, eh? |
Comment Actions
I agree that we warned a lot on these two drivers and should remove it. Of course not as port of this revision. Can you please also look at D50784, that depends on this one?