All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with new uapi header in Linux kernel 4.4+
@ 2016-10-06 15:15 Jan Luca Naumann
  2016-10-06 23:09 ` Keith Busch
  2016-10-06 23:28 ` Bauer, Scott
  0 siblings, 2 replies; 8+ messages in thread
From: Jan Luca Naumann @ 2016-10-06 15:15 UTC (permalink / raw)


Hey,

at the moment I try to install a tool called "sedutil"[1]. The tool
manages self encrypting drives that conform to the TCG OPAL 2.0
specification.

The program uses in the current version i.a. ioctl() to communicate with
NVMe disks (see header [2] and source file [3]). The problem is that the
tool uses the no longer to the user space exported header file
"linux/nvme.h". In the new uapi header "linux/nvme_ioctl.h" are the
enumeration "nvme_admin_opcode" and the structure "nvme_id_ctrl" no
longer available that are used in the source code...

Since I do not have much experience with ioctl/NVMe and the upstream
author has no time at the moment, I want to ask you what would be the
best attempt to fix this.

Thank you in advance and best regards,
Jan

[1] https://github.com/Drive-Trust-Alliance/sedutil
[2]
https://github.com/Drive-Trust-Alliance/sedutil/blob/master/linux/DtaDevLinuxNvme.h
[3]
https://github.com/Drive-Trust-Alliance/sedutil/blob/master/linux/DtaDevLinuxNvme.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-nvme/attachments/20161006/d77ab0b5/attachment-0001.sig>

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-10-08 10:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-06 15:15 Problem with new uapi header in Linux kernel 4.4+ Jan Luca Naumann
2016-10-06 23:09 ` Keith Busch
2016-10-07  7:29   ` Christoph Hellwig
2016-10-07 10:06     ` Jan Luca Naumann
2016-10-06 23:28 ` Bauer, Scott
2016-10-07  7:31   ` Christoph Hellwig
2016-10-07 14:31     ` Scott Bauer
2016-10-08 10:23       ` Jan Luca Naumann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.