Re: [PATCH] input: mt: introduce MT event slots

From: Dmitry Torokhov
Date: Tue May 04 2010 - 13:29:20 EST


On Tue, May 04, 2010 at 09:57:10AM +0200, Henrik Rydberg wrote:
> > It would be nice to use abs[ABS_MT_MAX - ABS_MT_TOUCH_MAJOR] to save
> > some memory.
> >
>
> Is it possible this was meant to read "ABS_MAX - ABS_MT_TOUCH_MAJOR"? It would
> explain my confusion.
>

By ABS_MT_MAX I meant highest MT event currently defined. No need to go all
the way to ABS_MAX if there are no MT events defined there.

--
Dmitry
--
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/