linux/drivers
Dima Zavin 183a1fcfd8 input: evdev: do not block waiting for an event if fd is nonblock
If there is a full packet in the buffer, and we overflow that buffer
right after checking for that condition, it would have been possible
for us to block indefinitely (rather, until the next full packet) even if
the file was marked as O_NONBLOCK.

Change-Id: Icd0f59f8cc98392be4c4d13bd45b5cf94317eb5a
Signed-off-by: Dima Zavin <dima@android.com>
2011-10-04 22:51:05 -07:00
..
accessibility
acpi Merge branches 'd3cold', 'bugzilla-37412' and 'bugzilla-38152' into release 2011-07-14 00:16:38 -04:00
amba ARM: 6829/1: amba: make hardcoded periphid override hardware 2011-05-26 10:33:34 +01:00
ata ahci: change 'masking port_map' printk to KERN_WARNING level 2011-06-29 10:10:07 -07:00
atm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2011-05-20 13:43:21 -07:00
auxdisplay
base PM: runtime: add might_sleep to PM runtime functions 2011-09-23 20:08:51 -07:00
bcma drivers/bcma/host_pci.c needs slab.h 2011-05-26 17:12:32 -07:00
block cciss: do not attempt to read from a write-only register 2011-08-04 21:58:38 -07:00
bluetooth Bluetooth: Add Atheros AR3012 one PID/VID supported 2011-07-11 11:59:27 -07:00
cdrom block: fix mismerge of the DISK_EVENT_MEDIA_CHANGE removal 2011-06-02 05:29:19 +09:00
char Merge commit 'v3.0' into android-3.0 2011-08-10 18:04:30 -07:00
clk
clocksource Revert "clocksource: sh_cmt: Runtime PM support" 2011-05-31 15:26:42 +09:00
connector Connector: Correctly set the error code in case of success when dispatching receive callbacks 2011-06-07 12:02:00 -07:00
cpufreq cpufreq: interactive: Fix handling of SMP where CPUs must scale in tandem 2011-09-15 11:04:06 -07:00
cpuidle cpuidle: governor: menu: don't use loadavg 2011-09-19 16:56:40 -07:00
crypto crypto: caam - fix operator precedence in shared descriptor allocation 2011-06-30 07:43:27 +08:00
dca
dio
dma dmaengine: shdma: SH_DMAC_MAX_CHANNELS message fix 2011-06-14 15:03:07 +09:00
edac edac,rcu: use synchronize_rcu() instead of call_rcu()+rcu_barrier() 2011-05-26 17:12:37 -07:00
eisa
firewire firewire: cdev: prevent race between first get_info ioctl and bus reset event queuing 2011-08-04 21:58:34 -07:00
firmware drivers/firmware/sigma.c needs MODULE_LICENSE 2011-08-04 21:58:38 -07:00
gpio gpio: wm831x: add a missing break in wm831x_gpio_dbg_show 2011-07-15 14:03:30 -06:00
gpu Merge commit 'v3.0.1' into android-3.0 2011-08-10 18:07:59 -07:00
hid HID: Add null check for hidinput. 2011-09-21 17:19:38 -07:00
hwmon hwmon: (max1111) Fix race condition causing NULL pointer exception 2011-07-17 18:39:19 +02:00
hwspinlock
i2c Merge branch 'for-30-rc5/all-i2c' of git://git.fluff.org/bjdooks/linux 2011-07-07 16:29:29 -07:00
ide ide-cd: signedness warning fix again 2011-06-11 15:06:48 -07:00
idle
ieee802154
infiniband IB/srp: Avoid duplicate devices from LUN scan 2011-08-04 21:58:34 -07:00
input input: evdev: do not block waiting for an event if fd is nonblock 2011-10-04 22:51:05 -07:00
isdn gigaset: call module_put before restart of if_open() 2011-06-17 15:27:32 -04:00
leds Merge commit 'v3.0-rc7' into android-3.0 2011-07-12 20:10:37 -07:00
lguest
macintosh Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-05-23 09:12:26 -07:00
mca
md dm: fix idr leak on module removal 2011-08-04 21:58:43 -07:00
media si4713-i2c: avoid potential buffer overflow on si4713 2011-07-18 09:12:21 -07:00
memstick
message Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-05-23 09:12:26 -07:00
mfd w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
misc Merge commit 'v3.0.1' into android-3.0 2011-08-10 18:07:59 -07:00
mmc mmc: core: host: only use wakelock for detect work 2011-09-07 17:30:23 -07:00
mtd Merge commit 'v3.0-rc6' into android-3.0 2011-07-07 17:55:44 -07:00
net net: wireless: bcmdhd: Fix get_noa() and set_noa() commands 2011-09-28 17:12:02 -07:00
nfc
nubus
of Merge branch 'devicetree/arm-next' of git://git.secretlab.ca/git/linux-2.6 into devel-stable 2011-05-25 00:08:17 +01:00
oprofile oprofile: Fix locking dependency in sync_start() 2011-05-31 16:33:34 +02:00
parisc
parport Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6 2011-05-26 13:19:00 -07:00
pci PCI: ARI is a PCIe v2 feature 2011-08-04 21:58:38 -07:00
pcmcia pcmcia: pxa2xx/vpac270: free gpios on exist rather than requesting 2011-07-11 14:26:34 +08:00
platform hp-wmi: fix use after free 2011-07-11 09:52:35 -04:00
pnp
power pda_power: add support for using otg transceiver events 2011-07-11 15:30:09 -07:00
pps
ps3
ptp ptp: Fix some locking bugs in ptp_read() 2011-06-01 19:29:10 -07:00
rapidio rapidio: fix default routing initialization 2011-05-18 02:55:22 -07:00
regulator regulator: max8997: Fix setting inappropriate value for ramp_delay variable 2011-07-08 19:14:58 +01:00
rtc rtc alarm: fix bad index when canceling alarms[] 2011-09-07 19:49:49 -07:00
s390 [S390] qdio: Split SBAL entry flags 2011-06-06 14:14:56 +02:00
sbus
scsi hpsa: do not attempt to read from a write-only register 2011-08-04 21:58:36 -07:00
sfi
sh drivers: sh: resume enabled clocks fix 2011-06-14 15:15:25 +09:00
sn
spi spi/s3c64xx: Bug fix for SPI with different FIFO level 2011-07-06 15:03:08 +09:00
ssb ssb: fix init regression of hostmode PCI core 2011-07-07 13:06:08 -04:00
staging android: logger: bump up the logger buffer sizes 2011-08-11 21:33:35 -07:00
switch switch: switch class and GPIO drivers. 2011-06-14 09:08:45 -07:00
target tcm_fc: Fix conversion spec warning 2011-06-24 00:09:16 +00:00
tc
telephony
thermal
tty Merge commit 'v3.0.1' into android-3.0 2011-08-10 18:07:59 -07:00
uio
usb usb: otg: Temporarily grab wakelock on charger and disconnect events 2011-09-26 23:36:48 -07:00
uwb
vhost vhost: support event index 2011-05-30 11:14:15 +09:30
video Merge commit 'v3.0-rc6' into android-3.0 2011-07-07 17:55:44 -07:00
virtio virtio: add api for delayed callbacks 2011-05-30 11:14:16 +09:30
vlynq
w1 w1: ds1wm: add a reset recovery parameter 2011-07-08 21:14:44 -07:00
watchdog watchdog: shwdt: fix usage of mod_timer 2011-08-04 21:58:42 -07:00
xen Merge branch 'stable/bug.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen 2011-06-20 09:01:33 -07:00
zorro
Kconfig switch: switch class and GPIO drivers. 2011-06-14 09:08:45 -07:00
Makefile switch: switch class and GPIO drivers. 2011-06-14 09:08:45 -07:00