Re: [PATCH 1/6] input: bcm5974: Prepare for a new trackpad headertype

From: Henrik Rydberg
Date: Thu Jan 29 2009 - 17:31:19 EST


Andrew Morton wrote:
> On Wed, 28 Jan 2009 11:23:44 +0100 "Henrik Rydberg" <rydberg@xxxxxxxxxxx> wrote:

Thanks for taking care of the patches, and for spotting the surplus
patches 5/6 and 6/6 - my mistake.

>> + f = (const struct tp_finger *)(dev->tp_data + c->tp_offset);
>
> Is there anything which guarantees that `f' is sufficiently aligned?
> If not, the code might cause unaligned exceptions on some
> architectures?
>

I believe it is - I will send a patch in reply to this message that
ought to make it clearer.

Thanks,
Henrik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/