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
F173964991: D38003.id.diff
Tue, Sep 29, 4:38 PM
Unknown Object (File)
Mon, Sep 28, 3:13 PM
Unknown Object (File)
Mon, Sep 21, 9:46 PM
Unknown Object (File)
Sat, Sep 19, 6:29 AM
Unknown Object (File)
Tue, Sep 8, 3:41 AM
Unknown Object (File)
Aug 18 2026, 10:53 AM
Unknown Object (File)
Aug 17 2026, 5:07 PM
Unknown Object (File)
Aug 17 2026, 3:27 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