Re: [PATCH 1/2] misc: Add Nitro Secure Module driver

From: Greg Kroah-Hartman
Date: Fri Sep 29 2023 - 01:46:22 EST


On Thu, Sep 28, 2023 at 10:46:44PM +0000, Alexander Graf wrote:
> +/* Register this as a misc driver */
> +#define NSM_DEV_NAME "nsm"
> +#define NSM_IOCTL_MAGIC 0x0A
> +#define NSM_IO_REQUEST _IOWR(NSM_IOCTL_MAGIC, 0, struct nsm_message)

You have an ioctl for this driver, yet no include/uapi/ file for it?
How is userspace supposed to know about this and use it?

thanks,

greg k-h