RE: [PATCH 06/41] IB/hfi1: add char device instantiation code

Marciniszyn, Mike
2015-07-16T19:23:42Z

> But personally, I hate seeing write() used to emulate ioctl() because 'ioctl is
> bad'. ie if you are 'writing' a struct that contains user pointers and you
> expect the kernel to read/write to user memory, then use ioctl. (and that is
> the 'badness' of ioctl, so pretending it is write doesn't help anything)
>

So you are ok with ioctl? Based on the statement above, it appears that you are.

mike