|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Re: [patch] fix void* arithmetic
Hollis Blanchard wrote: On Tue, 2006-08-29 at 22:06 +0100, Ian Campbell wrote:On Tue, 2006-08-29 at 15:24 -0500, Hollis Blanchard wrote: Pointer arith is quite valid on void pointers, when using gcc and most other modern compilers. Point of fact, any Linux kernel-related code REQUIRES that void* arith be valid, and not cause warnings. As we see from your patch, all a cast to char* does is complicate the code, for zero gain.
Jeff
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |