Page MenuHomeFreeBSD

switch nvme driver from make_dev_credf to make_dev_s
ClosedPublic

Authored by hordijk_netapp.com on Apr 23 2018, 4:27 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 26, 3:25 AM
Unknown Object (File)
Thu, Dec 25, 12:33 AM
Unknown Object (File)
Dec 11 2025, 12:29 PM
Unknown Object (File)
Nov 27 2025, 12:10 PM
Unknown Object (File)
Nov 21 2025, 2:44 AM
Unknown Object (File)
Nov 15 2025, 8:36 AM
Unknown Object (File)
Oct 27 2025, 4:09 PM
Unknown Object (File)
Oct 27 2025, 1:34 PM

Details

Summary
Leveraging the newer interface, removing deprecated API.  Also allows us
to remove the redundant check on the cdev entry being non-NULL.
Test Plan

verified /dev/nvme device gets created

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16260
Build 16208: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Apr 23 2018, 8:47 PM

Saves us a check at the cost of extra lines :)
this looks good.

Warner - can you commit this to HEAD?

This revision was automatically updated to reflect the committed changes.