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
F166800424: D38003.id114912.diff
Sun, Aug 16, 7:11 PM
Unknown Object (File)
Sat, Aug 15, 9:34 PM
Unknown Object (File)
Sat, Aug 15, 8:24 PM
Unknown Object (File)
Thu, Aug 13, 9:08 PM
Unknown Object (File)
Wed, Aug 12, 4:43 PM
Unknown Object (File)
Tue, Aug 11, 11:54 PM
Unknown Object (File)
Tue, Aug 11, 3:56 PM
Unknown Object (File)
Tue, Aug 11, 2:38 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