Page MenuHomeFreeBSD

stand: Create common gen_setcurrdev and replace code
ClosedPublic

Authored by imp on Jan 10 2023, 12:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 26, 8:16 AM
Unknown Object (File)
Wed, Mar 25, 2:07 AM
Unknown Object (File)
Fri, Mar 20, 7:27 AM
Unknown Object (File)
Tue, Mar 17, 9:02 AM
Unknown Object (File)
Sun, Mar 15, 11:29 AM
Unknown Object (File)
Fri, Mar 13, 2:48 PM
Unknown Object (File)
Fri, Mar 13, 2:41 PM
Unknown Object (File)
Feb 7 2026, 10:18 PM

Details

Summary

Replace 4 identical copies of *_setcurrdev with gen_setcurrdev to avoid
having to create a 5th copy. uboot_setcurrdev is actually different and
needs to remain separate (even though it's quite similar).

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Jan 10 2023, 12:18 AM
This revision is now accepted and ready to land.Jan 11 2023, 12:15 AM
fuz added a subscriber: fuz.

Tested ok on arm64. Changes look fine.

imp retitled this revision from stand: Create common gen_setcurrdev and remplace code to stand: Create common gen_setcurrdev and replace code.Jan 11 2023, 10:08 PM