linux/arch/sparc64/kernel
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
..
asm-offsets.c
audit.c
auxio.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
binfmt_aout32.c [PATCH] struct path: convert sparc64 2006-12-08 08:28:50 -08:00
binfmt_elf32.c [PATCH] elf: Always define elf_addr_t in linux/elf.h 2006-12-07 08:39:38 -08:00
central.c [SPARC64]: Fix central/FHC bus handling on Ex000 systems. 2006-10-25 22:39:15 -07:00
chmc.c [SPARC64]: Replace kmalloc+memset with kzalloc 2006-12-10 02:40:18 -08:00
compat_audit.c
cpu.c
devices.c
dtlb_miss.S
dtlb_prot.S
ebus.c [SPARC]: Fix bus_id[] string overflow. 2006-10-27 01:03:31 -07:00
entry.S [SPARC64]: Add irqtrace/stacktrace/lockdep support. 2006-12-10 02:39:09 -08:00
etrap.S
head.S [SPARC64]: Add irqtrace/stacktrace/lockdep support. 2006-12-10 02:39:09 -08:00
idprom.c
init_task.c [PATCH] nsproxy: move init_nsproxy into kernel/nsproxy.c 2006-10-02 07:57:20 -07:00
iommu_common.c
iommu_common.h
irq.c [PATCH] sparc64 irq pt_regs fallout 2006-10-09 14:19:07 -07:00
isa.c [SPARC64]: Replace kmalloc+memset with kzalloc 2006-12-10 02:40:18 -08:00
itlb_miss.S
kprobes.c [SPARC64]: Fix several kprobes bugs. 2006-12-10 02:42:03 -08:00
ktlb.S
Makefile [SPARC64]: Add irqtrace/stacktrace/lockdep support. 2006-12-10 02:39:09 -08:00
module.c
of_device.c [SPARC64]: Replace kmalloc+memset with kzalloc 2006-12-10 02:40:18 -08:00
pci_common.c [SPARC64]: Fix PCI memory space root resource on Hummingbird. 2006-10-17 19:28:50 -07:00
pci_impl.h
pci_iommu.c [SPARC64]: Fix memory corruption in pci_4u_free_consistent(). 2006-10-25 22:39:16 -07:00
pci_psycho.c [PATCH] sparc64 pt_regs fixes 2006-10-08 12:32:35 -07:00
pci_sabre.c [SPARC64]: Compute dma_end argument to sabre_pbm_init() correctly. 2006-10-19 17:20:30 -07:00
pci_schizo.c [PATCH] sparc64 pt_regs fixes 2006-10-08 12:32:35 -07:00
pci_sun4v_asm.S
pci_sun4v.c [SPARC64]: Replace kmalloc+memset with kzalloc 2006-12-10 02:40:18 -08:00
pci_sun4v.h
pci.c PCI: Use pci_generic_prep_mwi on sparc64 2006-12-01 14:36:57 -08:00
power.c [PATCH] sparc64 pt_regs fixes 2006-10-08 12:32:35 -07:00
process.c
prom.c [SPARC64]: Fix Tomatillo/Schizo IRQ handling. 2006-10-30 19:33:33 -08:00
ptrace.c [SPARC{32,64}]: Propagate ptrace_traceme() return value. 2006-12-10 02:40:27 -08:00
rtrap.S [SPARC64]: Add irqtrace/stacktrace/lockdep support. 2006-12-10 02:39:09 -08:00
sbus.c [PATCH] sparc64 pt_regs fixes 2006-10-08 12:32:35 -07:00
semaphore.c
setup.c [SPARC]: Kill BOOTME_SINGLE. 2006-10-17 19:28:49 -07:00
signal32.c [SPARC64]: Move signal compat bits to new header file. 2006-10-02 14:24:18 -07:00
signal.c
smp.c [PATCH] sparc64 pt_regs fixes 2006-10-08 12:32:35 -07:00
sparc64_ksyms.c
stacktrace.c [SPARC64]: Add irqtrace/stacktrace/lockdep support. 2006-12-10 02:39:09 -08:00
starfire.c
sun4v_ivec.S [SPARC64]: Add irqtrace/stacktrace/lockdep support. 2006-12-10 02:39:09 -08:00
sun4v_tlb_miss.S
sunos_ioctl32.c
sys32.S
sys_sparc32.c Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6 2006-10-03 08:53:26 -07:00
sys_sparc.c [PATCH] provide kernel_execve on all architectures 2006-10-02 07:57:23 -07:00
sys_sunos32.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
systbls.S [SPARC]: Fix robust futex syscalls and wire up migrate_pages. 2006-11-05 16:51:03 -08:00
time.c [PATCH] sparc64 irq pt_regs fallout 2006-10-09 14:19:07 -07:00
trampoline.S
traps.c [SPARC64]: Run ctrl-alt-del action for sun4v powerdown request. 2006-12-10 02:39:51 -08:00
tsb.S
ttable.S
una_asm.S
unaligned.c [SPARC64]: Unaligned accesses to userspace are hard errors. 2006-12-10 02:39:39 -08:00
us2e_cpufreq.c
us3_cpufreq.c
visemul.c [SPARC64]: Call do_mathemu on illegal instruction traps too. 2006-12-10 02:39:32 -08:00
vmlinux.lds.S [PATCH] relocatable kernel: Kallsyms generate relocatable symbols 2006-12-07 02:14:04 +01:00
winfixup.S