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)
Oct 5 2024, 10:30 PM
Unknown Object (File)
Oct 4 2024, 3:45 PM
Unknown Object (File)
Oct 2 2024, 9:17 AM
Unknown Object (File)
Oct 2 2024, 5:25 AM
Unknown Object (File)
Sep 30 2024, 10:27 PM
Unknown Object (File)
Sep 16 2024, 10:29 PM
Unknown Object (File)
Sep 16 2024, 7:09 PM
Unknown Object (File)
Sep 8 2024, 7:10 AM

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.