Linus pointed this out a long time ago
From the kernel log:
At commit 07d106d0, Linus pointed out that ENOIOCTLCMD should be translated as ENOTTY to user mode