linux/drivers/usb/misc
Yoann Padioleau 0da2f0f164 potential compiler error, irqfunc caller sites update
In 7d12e780e0 David Howells performed
this evolution:
 "IRQ: Maintain regs pointer globally rather than passing to IRQ handlers"

He correctly updated many of the function definitions that were using this
extra regs pointer parameter but forgot to update some caller sites of
those functions.  The reason the modifications was not properly done on all
drivers is that some drivers were rarely compiled because they are for
AMIGA, or that some code sites were inside #ifdefs where the option is not
set or inside #if 0.

Here is the semantic patch that found the occurences
and fixed the problem.

@ rule1 @
identifier fn;
identifier irq, dev_id;
typedef irqreturn_t;
@@

static irqreturn_t fn(int irq, void *dev_id)
{
   ...
}

@@
identifier rule1.fn;
expression E1, E2, E3;
@@

 fn(E1, E2
-   ,E3
   )

Signed-off-by: Yoann Padioleau <padator@wanadoo.fr>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-06 10:23:43 -07:00
..
sisusbvga SIS USB2VGA Warning fix 2007-05-08 11:15:27 -07:00
adutux.c USB: cleanup ofd adutux 2007-04-27 13:28:39 -07:00
appledisplay.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
auerswald.c USB: auerswald: fix file release handler 2007-05-22 23:45:49 -07:00
berry_charge.c USB: berry_charge: correct dbg string for second magic command 2007-03-19 13:22:19 -07:00
cypress_cy7c63.c USB: cypress_cy7c63: race disconnect/sysfs read-write leading to following NULL pointer 2007-04-27 13:28:38 -07:00
cytherm.c USB: fix __must_check warnings in drivers/usb/misc/ 2006-09-27 11:58:58 -07:00
emi26_fw.h
emi26.c USB: kmemdup() cleanup in drivers/usb/ 2006-12-01 14:23:27 -08:00
emi62_fw_m.h
emi62_fw_s.h
emi62.c USB: kmemdup() cleanup in drivers/usb/ 2006-12-01 14:23:27 -08:00
ftdi-elan.c USB: fix more ftdi-elan/u132-hcd #include lossage 2007-05-22 23:45:48 -07:00
idmouse.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
iowarrior.c USB: memory leak in iowarrior.c 2007-06-25 23:38:05 -07:00
Kconfig USB: add driver for iowarrior devices. 2007-02-23 15:03:45 -08:00
ldusb.c USB: ldusb bugfix 2007-05-22 23:45:51 -07:00
legousbtower.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
Makefile USB: add driver for iowarrior devices. 2007-02-23 15:03:45 -08:00
phidget.c USB: Put phidgets driver in a sysfs class 2006-09-27 11:58:49 -07:00
phidget.h USB: Put phidgets driver in a sysfs class 2006-09-27 11:58:49 -07:00
phidgetkit.c [PATCH] slab: remove SLAB_ATOMIC 2006-12-07 08:39:24 -08:00
phidgetmotorcontrol.c [PATCH] slab: remove SLAB_ATOMIC 2006-12-07 08:39:24 -08:00
phidgetservo.c USB: Fix oops in PhidgetServo 2006-12-20 10:13:22 -08:00
rio500_usb.h
rio500.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
trancevibrator.c USB: fix transvibrator disconnect race 2006-12-20 10:13:23 -08:00
usb_u132.h Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6 2006-12-01 16:41:58 -08:00
usblcd.c USB: usblcd doesn't limit memory consumption during write 2007-06-25 23:38:06 -07:00
usbled.c USB: fix __must_check warnings in drivers/usb/misc/ 2006-09-27 11:58:58 -07:00
usbtest.c [PATCH] slab: remove SLAB_KERNEL 2006-12-07 08:39:24 -08:00
uss720.c potential compiler error, irqfunc caller sites update 2007-07-06 10:23:43 -07:00