Hi! > So as far as I can tell we depend here on a fact that upper part of $rdx > is zeroed. Not sure if that is guaranteed or not. Which seems to be the case for x86_64 processors, so passing int value to ioctl() will work fine there. Not sure about the rest of 64bit archs. -- Cyril Hrubis chrubis@xxxxxxx -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html