Re: [PATCH v2 4/7] Input: ALPS - Remove assumptions about packetsize

From: Chase Douglas
Date: Mon Nov 07 2011 - 16:32:09 EST


On 11/07/2011 12:52 PM, Seth Forshee wrote:
> In preparation for version 4 protocol support, which has 8-byte
> data packets, remove all hard-coded assumptions about packet size
> and use psmouse->pktsize instead.
>
> Signed-off-by: Seth Forshee <seth.forshee@xxxxxxxxxxxxx>

The stack allocated buffer is much cleaner :).

Acked-by: Chase Douglas <chase.douglas@xxxxxxxxxxxxx>
--
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/