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)
Tue, May 6, 6:30 PM
Unknown Object (File)
Apr 14 2025, 9:04 AM
Unknown Object (File)
Apr 14 2025, 4:13 AM
Unknown Object (File)
Apr 13 2025, 10:13 PM
Unknown Object (File)
Apr 12 2025, 5:42 PM
Unknown Object (File)
Apr 11 2025, 1:36 AM
Unknown Object (File)
Mar 5 2025, 5:35 PM
Unknown Object (File)
Feb 27 2025, 6:21 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.