Re: [RFC] What are the goals for the architecture of an in-kernelIR system?

From: Pavel Machek
Date: Thu Mar 25 2010 - 14:33:16 EST


Hi!

> This were the original plan we've discussed, back in December:
....

Seems sane.

> struct keycode_table_entry {
> unsigned keycode;
> char scancode[32]; /* 32 is just an arbitrary long array - maybe shorter */
> int len;
> }

What about

struct keycode_table_entry {
unsigned keycode;
int len;
char scancode[];
}

? gcc extension, but commonly used around kernel.
Pavel

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/