<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/input/evdev.c, branch v2.6.27.59</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/input/evdev.c?h=v2.6.27.59</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/input/evdev.c?h=v2.6.27.59'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2008-08-19T15:35:27Z</updated>
<entry>
<title>Input: evdev - fix printf() format for sizeof</title>
<updated>2008-08-19T15:35:27Z</updated>
<author>
<name>Geert Uytterhoeven</name>
<email>Geert.Uytterhoeven@sonycom.com</email>
</author>
<published>2008-08-19T15:28:23Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=c85e2031eb55381a5e2f0f66c2e1d62ecd58eb85'/>
<id>urn:sha1:c85e2031eb55381a5e2f0f66c2e1d62ecd58eb85</id>
<content type='text'>
commit f2afa7711f8585ffc088ba538b9a510e0d5dca12 ("Input: paper over a bug in
Synaptics X driver") introduced a compiler warning on 64-bit platforms, as
sizeof() returns a size_t, not an (unsigned) int:

| drivers/input/evdev.c: In function 'handle_eviocgbit':
| drivers/input/evdev.c:684: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'

Use the proper `z' modifier for size_t, and make the printf() formats for the
sizes unsigned while we're at it.

Signed-off-by: Geert Uytterhoeven &lt;Geert.Uytterhoeven@sonycom.com&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: paper over a bug in Synaptics X driver</title>
<updated>2008-08-08T18:54:59Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2008-08-08T15:46:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f2afa7711f8585ffc088ba538b9a510e0d5dca12'/>
<id>urn:sha1:f2afa7711f8585ffc088ba538b9a510e0d5dca12</id>
<content type='text'>
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: evdev - split EVIOCGBIT handlig into a separate function</title>
<updated>2008-08-08T15:54:58Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2008-08-05T15:42:42Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=5402a7349d26875f69c184badf87b88541b1cf6c'/>
<id>urn:sha1:5402a7349d26875f69c184badf87b88541b1cf6c</id>
<content type='text'>
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: fix force feedback upload issue in compat mode</title>
<updated>2008-06-30T13:37:06Z</updated>
<author>
<name>Adam Dawidowski</name>
<email>drake_ster@wp.pl</email>
</author>
<published>2008-06-02T05:08:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f2278f31d6feb9036eaa79f2e8abcce850420abd'/>
<id>urn:sha1:f2278f31d6feb9036eaa79f2e8abcce850420abd</id>
<content type='text'>
Force feedback upload of effects through the event device (ioctl
EVIOCSFF) is not working in 32 bit applications running on 64-bit
kernel due to the fact that struct ff_effect contains a pointer,
resulting in the structure having different sizes in 64 and 32 bit
programs and causing difference in ioctl numbers.

[dtor@mail.ru: refactor to keep all ugliness in evdev]

Signed-off-by: Adam Dawidowski &lt;drake_ster@wp.pl&gt;
Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Input: make sure input interfaces pin parent input devices</title>
<updated>2008-04-01T04:22:53Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2008-04-01T04:22:53Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a7097ff89c3204737a07eecbc83f9ae6002cc534'/>
<id>urn:sha1:a7097ff89c3204737a07eecbc83f9ae6002cc534</id>
<content type='text'>
Recent driver core change causes references to parent devices being
dropped early, at device_del() time, as opposed to when all children
are freed. This causes oops in evdev with grabbed devices. Take the
reference to the parent input device ourselves to ensure that it
stays around long enough.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>evdev: Release eventual input device grabs when getting disconnected</title>
<updated>2008-03-30T21:47:49Z</updated>
<author>
<name>Björn Steinbrink</name>
<email>B.Steinbrink@gmx.de</email>
</author>
<published>2008-03-30T18:42:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=eb08b6b973cb91311431c6eea3cc232b97152a84'/>
<id>urn:sha1:eb08b6b973cb91311431c6eea3cc232b97152a84</id>
<content type='text'>
When getting disconnected we need to release eventual grabs on the
underlying input device as we also release the input device itself.
Otherwise, we would try to release the grab when the client that
requested it closes its handle, accessing the input device which
might already be freed.

Signed-off-by: Björn Steinbrink &lt;B.Steinbrink@gmx.de&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Input: Add proper locking when changing device's keymap</title>
<updated>2008-01-21T06:11:06Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2007-11-04T04:41:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f4f37c8ec7d2491c8885c890ba74254b9adfbeee'/>
<id>urn:sha1:f4f37c8ec7d2491c8885c890ba74254b9adfbeee</id>
<content type='text'>
Take dev-&gt;event_lock to make sure that we don't race with input_event() and
also force key up event when removing a key from keymap table.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>get rid of input BIT* duplicate defines</title>
<updated>2007-10-19T18:53:42Z</updated>
<author>
<name>Jiri Slaby</name>
<email>jirislaby@gmail.com</email>
</author>
<published>2007-10-19T06:40:32Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7b19ada2ed3c1eccb9fe94d74b05e1428224663d'/>
<id>urn:sha1:7b19ada2ed3c1eccb9fe94d74b05e1428224663d</id>
<content type='text'>
get rid of input BIT* duplicate defines

use newly global defined macros for input layer. Also remove includes of
input.h from non-input sources only for BIT macro definiton. Define the
macro temporarily in local manner, all those local definitons will be
removed further in this patchset (to not break bisecting).
BIT macro will be globally defined (1&lt;&lt;x)

Signed-off-by: Jiri Slaby &lt;jirislaby@gmail.com&gt;
Cc: &lt;dtor@mail.ru&gt;
Acked-by: Jiri Kosina &lt;jkosina@suse.cz&gt;
Cc: &lt;lenb@kernel.org&gt;
Acked-by: Marcel Holtmann &lt;marcel@holtmann.org&gt;
Cc: &lt;perex@suse.cz&gt;
Acked-by: Mauro Carvalho Chehab &lt;mchehab@infradead.org&gt;
Cc: &lt;vernux@us.ibm.com&gt;
Cc: &lt;malattia@linux.it&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>Input: use full RCU API</title>
<updated>2007-10-13T19:46:55Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2007-10-13T19:46:55Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=82ba56c273911f7eda79849cfa0fc2d2e5a3b75b'/>
<id>urn:sha1:82ba56c273911f7eda79849cfa0fc2d2e5a3b75b</id>
<content type='text'>
RT guys alerted me to the fact that in their tree spinlocks
are preemptible and it is better to use full RCU API
(rcu_read_lock()/rcu_read_unlock()) to be safe.

Signed-off-by: Dmitry Torokhov &lt;dtor@mail.ru&gt;
</content>
</entry>
<entry>
<title>Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6</title>
<updated>2007-10-13T01:27:47Z</updated>
<author>
<name>Dmitry Torokhov</name>
<email>dmitry.torokhov@gmail.com</email>
</author>
<published>2007-10-13T01:27:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b981d8b3f5e008ff10d993be633ad00564fc22cd'/>
<id>urn:sha1:b981d8b3f5e008ff10d993be633ad00564fc22cd</id>
<content type='text'>
Conflicts:

	drivers/macintosh/adbhid.c
</content>
</entry>
</feed>
