Messages in this thread | | | Date | Sat, 25 Sep 2004 07:35:19 +0100 | From | viro@parcelfa ... | Subject | Re: [PATCH 6/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix |
| |
On Fri, Sep 24, 2004 at 05:13:53PM +0100, Anton Altaparmakov wrote: > /* Get the starting vcn of the index_block holding the child node. */ > - vcn = sle64_to_cpup((u8*)ie + le16_to_cpu(ie->length) - 8); > + vcn = sle64_to_cpup((sle64*)((u8*)ie + le16_to_cpu(ie->length) - 8));
I don't like the look of that. Are there any alignment warranties for that pointer? The same goes for other users of that function... - 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/
| |