Jan Engelhardt wrote:It does -- a cast from integer to pointer isn't required to be a bitwise noop. Machines on which NULL isn't bitwise zero do exist, and the C standard allows them. What is almost certainly more common than "all bits zero is not a NULL pointer" is "any NULL pointer is not necessarily all bits zero"; there are quite a few machines on which there are nonzero bitpatterns that are still valid NULL pointers, but an all-zero memset() will still produce NULL pointers. However, the particular supersets of the C standard that gcc provides and which the kernel are written in (the latter being a proper subset of the former) does not. -hpa -
| debian developer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
| Linus Torvalds | Re: Slow DOWN, please!!! |
| Tony Lindgren | [PATCH 37/90] ARM: OMAP: MPUIO wake updates |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Alexey Dobriyan | Re: [GIT]: Networking |
| Dushan Tcholich | Re: ksoftirqd high cpu load on kernels 2.6.24 to 2.6.27-rc1-mm1 |
