On Thu, 4 Jan 2007, Al Viro wrote: > > How about "makes call graph analysis easier"? ;-) In principle, I have > no problem with force-casting, but it'd better be cast to the right > type... Do we really care in the kernel? We simply never use function pointer casts like this for anything non-trivial, so if the graph analysis just doesn't work for those cases, do we really even care? The only case I can _remember_ us doing this for is literally the error-returning functions, where the call graph finding them really doesn't matter, I think. So I don't _object_ to that reason, I just wonder whether it's really a big issue.. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- References:
- [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Eric Sandeen <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Andrew Morton <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Eric Sandeen <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Andrew Morton <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Eric Sandeen <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Andrew Morton <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Linus Torvalds <[email protected]>
- Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- From: Al Viro <[email protected]>
- [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- Prev by Date: Kernel 2.6.19.1 booting probs on x86 with HT/SATA
- Next by Date: Re: NCPFS and brittle connections
- Previous by thread: Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- Next by thread: Re: [UPDATED PATCH] fix memory corruption from misinterpreted bad_inode_ops return values
- Index(es):