linux/drivers/usb/serial
Robert P. J. Day 5cbded585d [PATCH] getting rid of all casts of k[cmz]alloc() calls
Run this:

	#!/bin/sh
	for f in $(grep -Erl "\([^\)]*\) *k[cmz]alloc" *) ; do
	  echo "De-casting $f..."
	  perl -pi -e "s/ ?= ?\([^\)]*\) *(k[cmz]alloc) *\(/ = \1\(/" $f
	done

And then go through and reinstate those cases where code is casting pointers
to non-pointers.

And then drop a few hunks which conflicted with outstanding work.

Cc: Russell King <rmk@arm.linux.org.uk>, Ian Molton <spyro@f2s.com>
Cc: Mikael Starvik <starvik@axis.com>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Kyle McMartin <kyle@mcmartin.ca>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Greg KH <greg@kroah.com>
Cc: Jens Axboe <jens.axboe@oracle.com>
Cc: Paul Fulghum <paulkf@microgate.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Karsten Keil <kkeil@suse.de>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: James Bottomley <James.Bottomley@steeleye.com>
Cc: Ian Kent <raven@themaw.net>
Cc: Steven French <sfrench@us.ibm.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Neil Brown <neilb@cse.unsw.edu.au>
Cc: Jaroslav Kysela <perex@suse.cz>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-12-13 09:05:58 -08:00
..
aircable.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2006-12-05 14:37:56 +00:00
airprime.c USB: airprime: New device ID 2006-12-01 14:23:30 -08:00
ark3116.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
belkin_sa.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
belkin_sa.h
bus.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
ChangeLog.history [PATCH] USB Serial: rename ChangeLog.old 2005-11-17 11:29:52 -08:00
console.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
cp2101.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
cyberjack.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
cypress_m8.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
cypress_m8.h [PATCH] USB: cypress_m8: add support for the Nokia ca42-version 2 cable 2006-03-20 14:50:00 -08:00
digi_acceleport.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
empeg.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
ezusb_convert.pl
ezusb.c USB: kmemdup() cleanup in drivers/usb/ 2006-12-01 14:23:27 -08:00
ftdi_sio.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
ftdi_sio.h USB: ftdi driver pid for dmx-interfaces 2006-11-16 14:26:11 -08:00
funsoft.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
garmin_gps.c USB serial: replace kmalloc+memset with kzalloc 2006-12-01 14:25:51 -08:00
generic.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
hp4x.c [PATCH] USB: move usb-serial.h to include/linux/usb/ 2006-07-12 16:03:25 -07:00
io_16654.h
io_edgeport.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
io_edgeport.h [PATCH] USB: Use ARRAY_SIZE macro 2006-01-04 13:51:43 -08:00
io_fw_boot2.h [PATCH] USB: mark various usb tables const 2006-01-04 13:51:40 -08:00
io_fw_boot.h
io_fw_down2.h
io_fw_down3.h
io_fw_down.h
io_ionsp.h
io_tables.h [PATCH] USB Serial: move name to driver structure 2005-10-28 16:47:48 -07:00
io_ti.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
io_ti.h
io_usbvend.h
ipaq.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
ipaq.h
ipw.c USB: kmemdup() cleanup in drivers/usb/ 2006-12-01 14:23:27 -08:00
ir-usb.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
Kconfig USB: add driver for the USB debug devices 2006-12-01 14:25:52 -08:00
keyspan_mpr_fw.h
keyspan_pda_fw.h
keyspan_pda.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
keyspan_pda.S
keyspan_usa18x_fw.h
keyspan_usa19_fw.h
keyspan_usa19qi_fw.h
keyspan_usa19qw_fw.h
keyspan_usa19w_fw.h
keyspan_usa26msg.h
keyspan_usa28_fw.h
keyspan_usa28msg.h
keyspan_usa28x_fw.h
keyspan_usa28xa_fw.h
keyspan_usa28xb_fw.h
keyspan_usa49msg.h
keyspan_usa49w_fw.h
keyspan_usa49wlc_fw.h
keyspan_usa90msg.h
keyspan.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
keyspan.h [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
kl5kusb105.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
kl5kusb105.h
kobil_sct.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
kobil_sct.h
Makefile USB: add driver for the USB debug devices 2006-12-01 14:25:52 -08:00
Makefile-keyspan_pda_fw
mct_u232.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
mct_u232.h
mos7720.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
mos7840.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
navman.c usb: navman kill urb cleanup 2006-12-01 14:23:35 -08:00
omninet.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
option.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
pl2303.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
pl2303.h USB: Add vendor / product ID to pl2303 2006-09-28 15:36:42 -07:00
safe_serial.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sierra.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
ti_fw_3410.h
ti_fw_5052.h
ti_usb_3410_5052.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
ti_usb_3410_5052.h usb-serial: ti_usb, TI ez430 development tool ID 2006-12-01 14:23:30 -08:00
usb_debug.c USB: add driver for the USB debug devices 2006-12-01 14:25:52 -08:00
usb-serial.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
visor.c [PATCH] tty: switch to ktermios 2006-12-08 08:28:57 -08:00
visor.h [PATCH] USB: visor.c id for gspda smartphone 2006-02-28 12:42:07 -08:00
whiteheat_fw.h
whiteheat.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
whiteheat.h
xircom_pgs_fw.h
xircom_pgs.S