linux/drivers/input/serio
Julia Lawall 72398e4b1a Input: use resource_size when allocating resources
Use the function resource_size, which reduces the chance of
introducing off-by-one errors in calculating the resource size.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
struct resource *res;
@@

- (res->end - res->start) + 1
+ resource_size(res)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2009-07-07 22:48:14 -07:00
..
Kconfig [ARM] clps7500: remove support 2008-11-27 12:38:11 +00:00
Makefile Input: add new serio driver for Xilinx XPS PS2 IP 2008-07-07 16:19:56 -04:00
ambakmi.c [ARM] 5519/1: amba probe: pass "struct amba_id *" instead of void * 2009-05-20 23:26:51 +01:00
at32psif.c Input: use resource_size when allocating resources 2009-07-07 22:48:14 -07:00
ct82c710.c Input: remove CVS keywords 2008-05-20 12:17:39 -04:00
gscps2.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-29 23:00:44 -08:00
hil_mlc.c Input: HIL drivers - add MODULE_ALIAS() 2008-12-30 00:57:12 -08:00
hp_sdc.c drivers/input/serio/hp_sdc.c: fix crash when removing hp_sdc module 2009-04-21 13:41:49 -07:00
hp_sdc_mlc.c Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into next 2008-07-21 00:55:14 -04:00
i8042-io.h powerpc: convert CONFIG_PPC_MERGE to CONFIG_PPC for legacy io checks 2008-09-23 10:41:28 -05:00
i8042-ip22io.h
i8042-jazzio.h
i8042-ppcio.h
i8042-snirm.h Input: i8042 - add SNI RM support 2008-03-14 11:54:06 -04:00
i8042-sparcio.h sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
i8042-x86ia64io.h Input: i8042 - add a DMI table for the i8042.reset option 2009-04-11 17:09:12 -07:00
i8042.c Input: serio - do not use deprecated dev.power.power_state 2009-05-09 16:10:18 -07:00
i8042.h Input: i8042 - add SNI RM support 2008-03-14 11:54:06 -04:00
libps2.c Input: libps2 - better handle bad scheduler decisions 2009-05-28 10:34:02 -07:00
maceps2.c define global BIT macro 2007-10-19 11:53:42 -07:00
parkbd.c [PARPORT] Remove unused 'irq' argument from parport irq functions 2007-10-23 19:53:16 -04:00
pcips2.c Input: struct device - replace bus_id with dev_name(), dev_set_name() 2008-10-30 09:29:05 -04:00
q40kbd.c Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into next 2008-07-21 00:55:14 -04:00
rpckbd.c [ARM] acorn,ebsa110,footbridge,integrator,sa1100: Convert asm/io.h to linux/io.h 2009-03-25 10:21:35 +00:00
sa1111ps2.c Input: sa1111ps2 - use disable_irq_nosync() in irq handlers 2009-04-17 20:41:54 -07:00
serio.c Input: serio - do not use deprecated dev.power.power_state 2009-05-09 16:10:18 -07:00
serio_raw.c Rationalize fasync return values 2009-03-16 08:34:35 -06:00
serport.c tty: Ldisc revamp 2008-07-20 17:12:34 -07:00
xilinx_ps2.c Input: xilinx_ps2 - various cleanups 2008-10-27 22:23:32 -04:00