Re: [PATCH 6/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix
viro_at_parcelfarce.linux.theplanet.co.uk
Date: 09/25/04
- Previous message: viro_at_parcelfarce.linux.theplanet.co.uk: "Re: [PATCH 4/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix"
- In reply to: Anton Altaparmakov: "[PATCH 6/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix"
- Next in thread: Anton Altaparmakov: "Re: [PATCH 6/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix"
- Reply: Anton Altaparmakov: "Re: [PATCH 6/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 25 Sep 2004 07:35:19 +0100 To: Anton Altaparmakov <aia21@cam.ac.uk>
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/
- Previous message: viro_at_parcelfarce.linux.theplanet.co.uk: "Re: [PATCH 4/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix"
- In reply to: Anton Altaparmakov: "[PATCH 6/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix"
- Next in thread: Anton Altaparmakov: "Re: [PATCH 6/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix"
- Reply: Anton Altaparmakov: "Re: [PATCH 6/10] Re: [2.6-BK-URL] NTFS: 2.1.19 sparse annotation, cleanups and a bugfix"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|