linux/drivers/net/wan
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
..
lmc IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
.gitignore
c101.c [PATCH] WAN: fix C101 card carrier handling 2006-08-19 17:51:25 -04:00
cosa.c [PATCH] struct path: convert cosa 2006-12-08 08:28:44 -08:00
cosa.h
cycx_drv.c
cycx_main.c drivers/net: eliminate irq handler impossible checks, needless casts 2006-10-06 14:56:04 -04:00
cycx_x25.c
dlci.c [PATCH] remove unnecessary config.h includes from drivers/net/ 2006-08-14 14:00:43 -04:00
dscc4.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
farsync.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
farsync.h
hd6457x.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
hd64570.h
hd64572.h
hdlc.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_cisco.c [IPV4]: annotate struct in_ifaddr 2006-09-28 18:00:55 -07:00
hdlc_fr.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_ppp.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_raw.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_raw_eth.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hdlc_x25.c [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
hostess_sv11.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
Kconfig [NET]: Fix WAN routers kconfig dependency. 2006-12-11 14:34:34 -08:00
lapbether.c
Makefile [PATCH] Modularize generic HDLC 2006-09-26 17:40:24 -04:00
n2.c [PATCH] n2: fix confusing error code 2006-10-31 20:22:05 -05:00
pc300-falc-lh.h
pc300.h [PATCH] git-netdev-all: pc300_tty build fix 2006-09-27 16:18:24 -04:00
pc300_drv.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
pc300_tty.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
pci200syn.c drivers/net: Remove deprecated use of pci_module_init() 2006-08-19 17:48:59 -04:00
sbni.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sbni.h
sdla.c drivers/net: eliminate irq handler impossible checks, needless casts 2006-10-06 14:56:04 -04:00
sealevel.c [PATCH] irq-flags: drivers/net: Use the new IRQF_ constants 2006-07-02 13:58:51 -07:00
syncppp.c [PATCH] Uninitialized variable in drivers/net/wan/syncppp.c 2006-09-29 09:18:23 -07:00
wanxl.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
wanxl.h
wanxlfw.inc_shipped
wanxlfw.S
x25_asy.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
x25_asy.h
z85230.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
z85230.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00