Messages in this thread | | | Subject | Re: [PATCH] cosa.h ioctl numbers | From | Andreas Schwab <> | Date | Thu, 02 Dec 2004 16:13:28 +0100 |
| |
Jan Kasprzak <kas@fi.muni.cz> writes:
> Andreas Schwab wrote: > : If you want real compatibility you should use size_t, which is what 2.4 is > : effectively using. > : > I assume that sizeof(struct .. *) == sizeof(size_t) on i386.
This has nothing to do with this, but everything to do with sizeof(sizeof(foo)) == sizeof(size_t). And COSAIODOWNLD does not expect a pointer to a pointer but a pointer to struct cosa_download, which means that _IOW('C',0xf2,struct cosa_download *) would be completely wrong anyway.
Andreas.
-- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - 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/
| |