Messages in this thread | | | Subject | Re: [PATCH] ethtool.h should use userspace-accessible types | From | (Eric W. Biederman) | Date | 12 Mar 2004 09:25:16 -0700 |
| |
Eric Brower <ebrower@usa.net> writes:
> Attached is a patch to 2.4's ethtool.h to use appropriate, userspace-accessible > data types (__u8 and friends, rather than u8 and friends).
Why there is no #ifdef __KERNEL__ in this header to make it userspace safe.
> I've also posted a patch against ethtool-1.8 to the sf.net gkernel site that > cleans-up ethtool-copy.h and the rest in the same manner.
In user space the types from stdint.h likely should be used. So __u8 and friends looks wrong there as well.
Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |