Page MenuHomeFreeBSD

consolidate kb interfaces
ClosedPublic

Authored by fbsd_paepcke.de on Feb 28 2023, 7:08 AM.
Tags
None
Referenced Files
F102360508: D38818.id119313.diff
Mon, Nov 11, 5:20 AM
Unknown Object (File)
Fri, Nov 8, 7:02 PM
Unknown Object (File)
Wed, Nov 6, 3:36 PM
Unknown Object (File)
Wed, Nov 6, 3:12 PM
Unknown Object (File)
Wed, Nov 6, 3:12 PM
Unknown Object (File)
Wed, Nov 6, 3:12 PM
Unknown Object (File)
Wed, Nov 6, 3:11 PM
Unknown Object (File)
Wed, Nov 6, 3:11 PM
Subscribers
None

Details

Summary

followup for D38806

It seems we have already had some attempts to clean up and deprecate the old interface that got stuck in the middle. Therefore, we might need some intermediate steps this time before we can add new features.

Proposal 1st Step:

goals:

  • remove 38 lines of redundant code, migrate into header kbio.h
  • consolidate tables, remove individual derivations (eg. typos)
  • add warning when fallback to depreciated interface is used

non-goals:

  • do not introduce any changes in behavior
  • only exception: add a future interface removal warning to trigger feedback

Diff Detail

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

Event Timeline

fbsd_paepcke.de created this revision.
fbsd_paepcke.de edited the summary of this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Jul 7 2023, 5:11 AM
This revision was automatically updated to reflect the committed changes.