Fix compile errors on kernels with backported linux/nvme_ioctl.h#174
Fix compile errors on kernels with backported linux/nvme_ioctl.h#174pmorici wants to merge 1 commit intoDrive-Trust-Alliance:masterfrom
Conversation
|
Any chance this will get merged soon? |
|
No one has even contacted me asking for a signed contributor agreement so I'm gonna guess no. |
|
The building and testing of sedutil is done primarily using the Eclipse IDE which does not use autoconf et al. The autoconf files included in the source tree are there for use in the PBA build process and as a courtesy to the distribution packagers. They expect the kernel supplied by kernel.org as input. It was a goal to get the build to use autoconf but there has been no progress towards this to date. |
|
@r0m30 I'm confused, what do you mean there has been no progress toward using autoconf to build? With the application of this patch sedutil builds fine with autoconf. I do the following steps to build with autoconf on Linux. At any rate this patch doesn't break building the PBA from the vanilla kernel and would encourage you to merge it. |
|
@pmorici it will break the Eclipse build that I use during development. |
This change fixes compile errors on CentOS 7, RHEL 7, and other distributions have have back ported the nvme_ioctl.h change. Instead of checking the kernel version this change checks for the existence of the nvme include file with autoconf.