Page MenuHomeFreeBSD

nvme: Small cleanups to <dev/nvme/nvme.h>
Needs ReviewPublic

Authored by jhb on Thu, Nov 20, 2:52 PM.
Tags
None
Referenced Files
F136932055: D53842.id.diff
Thu, Nov 20, 5:39 PM
F136931375: D53842.id166850.diff
Thu, Nov 20, 5:33 PM
F136931258: D53842.diff
Thu, Nov 20, 5:32 PM
Subscribers

Details

Reviewers
imp
asomers
Summary
  • Remove kernel-only include of <sys/types.h>. It is redundant with the subsequent <sys/param.h>.
  • Use memcpy instead of memmove in nvme_cdata_get_disk_ident. These buffers should not overlap.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 68767
Build 65650: arc lint + arc unit