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
F166104796: D15162.id.diff
Tue, Aug 11, 6:31 PM
Unknown Object (File)
Sat, Aug 8, 5:24 PM
Unknown Object (File)
Fri, Aug 7, 10:05 AM
Unknown Object (File)
Fri, Aug 7, 8:24 AM
Unknown Object (File)
Fri, Aug 7, 3:59 AM
Unknown Object (File)
Wed, Aug 5, 6:56 PM
Unknown Object (File)
Wed, Aug 5, 1:29 PM
Unknown Object (File)
Wed, Aug 5, 9:30 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.