Use the preferred style sizeof(VARIABLE) instead of sizeof(TYPE) in the
joystick API documentation, Documentation/CodingStyle states that this
is the preferred style for allocations but using it elsewhere is good
too.
Also fix some errors like sizeof(struct mybuffer) which didn't mean
anything.
Hi Antonio,
On Mon, Dec 16, 2013 at 09:57:15AM +0100, Antonio Ospite wrote:
@@ -181,7 +181,7 @@ at a time using the typical read(2) functionality. For
that, you would
replace the read above with something like
struct js_event mybuffer[0xff];
- int i = read (fd, mybuffer,
On Mon, 16 Dec 2013 01:51:41 -0800
Dmitry Torokhov dmitry.torok...@gmail.com wrote:
Hi Antonio,
On Mon, Dec 16, 2013 at 09:57:15AM +0100, Antonio Ospite wrote:
@@ -181,7 +181,7 @@ at a time using the typical read(2) functionality. For
that, you would
replace the read above with