android_kernel_xiaomi_sm8350/sound/oss
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
..
dmasound [PATCH] struct path: convert sound 2006-12-08 08:28:49 -08:00
emu10k1 [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
.gitignore
ac97_codec.c [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
ac97.c [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
ac97.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
aci.c
aci.h
ad1816.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ad1848_mixer.h fix file specification in comments 2006-10-03 23:01:26 +02:00
ad1848.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
ad1848.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
ad1889.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ad1889.h [PARISC] OSS ad1889: Match register names with ALSA driver 2006-04-21 22:20:31 +00:00
adlib_card.c fix file specification in comments 2006-10-03 23:01:26 +02:00
aedsp16.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
au1550_ac97.c [PATCH] Alchemy: Delete unused pt_regs * argument from au1xxx_dbdma_chan_alloc 2006-09-26 08:48:54 -07:00
audio.c fix file specification in comments 2006-10-03 23:01:26 +02:00
bin2hex.c
btaudio.c [PATCH] sound/oss/btaudio.c: ioremap balanced with iounmap 2006-12-07 08:39:30 -08:00
CHANGELOG
coproc.h
cs46xx_wrapper-24.h
cs46xx.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
cs46xxpm.h
cs461x_image.h
cs461x.h
cs4232.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
dev_table.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
dev_table.h [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
dmabuf.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
es1371.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
hal2.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
hal2.h
hex2hex.c
i810_audio.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
kahlua.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
Kconfig [PATCH] The scheduled removal of some OSS options 2006-12-07 08:39:38 -08:00
Makefile [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
midi_ctrl.h
midi_synth.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
midi_synth.h
midibuf.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
mpu401.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
mpu401.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
msnd_classic.c
msnd_classic.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
msnd_pinnacle.c [PATCH] struct path: convert sound 2006-12-08 08:28:49 -08:00
msnd_pinnacle.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
msnd.c [PATCH] msnd section fix 2006-06-25 10:01:04 -07:00
msnd.h
nec_vrc5477.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
nm256_audio.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
nm256_coeff.h
nm256.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
opl3_hw.h
opl3.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
opl3.h
opl3sa2.c fix file specification in comments 2006-10-03 23:01:26 +02:00
os.h
pas2_card.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
pas2_midi.c fix file specification in comments 2006-10-03 23:01:26 +02:00
pas2_mixer.c fix file specification in comments 2006-10-03 23:01:26 +02:00
pas2_pcm.c
pas2.h
pss.c fix file specification in comments 2006-10-03 23:01:26 +02:00
README.FIRST
sb_audio.c fix file specification in comments 2006-10-03 23:01:26 +02:00
sb_card.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sb_card.h
sb_common.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_ess.c spelling fixes 2006-06-26 18:35:02 +02:00
sb_ess.h
sb_midi.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_mixer.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
sb_mixer.h fix file specification in comments 2006-10-03 23:01:26 +02:00
sb.h
sequencer.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
sh_dac_audio.c sh: Cleanup board header directories. 2006-10-19 16:30:32 +09:00
sound_calls.h [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
sound_config.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
sound_firmware.h
sound_timer.c [PATCH] kill sound/oss/*_syms.c 2006-10-04 07:55:32 -07:00
soundcard.c [PATCH] struct path: convert sound 2006-12-08 08:28:49 -08:00
soundvers.h
sscape.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
swarm_cs4297a.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
sys_timer.c fix file specification in comments 2006-10-03 23:01:26 +02:00
trident.c [PATCH] severing poll.h -> mm.h 2006-12-04 02:00:36 -05:00
trident.h
trix.c fix file specification in comments 2006-10-03 23:01:26 +02:00
tuning.h [PATCH] The scheduled removal of some OSS drivers 2006-10-04 07:55:32 -07:00
uart401.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
uart6850.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
ulaw.h
v_midi.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
v_midi.h
via82cxxx_audio.c [PATCH] mm: incorrect VM_FAULT_OOM returns from drivers 2006-12-07 08:39:20 -08:00
vidc_fill.S
vidc.c [PATCH] misc arm pt_regs fixes 2006-10-08 12:32:36 -07:00
vidc.h IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
vwsnd.c Various drivers' irq handlers: kill dead code, needless casts 2006-10-06 15:00:58 -04:00
waveartist.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
waveartist.h fix file specification in comments 2006-10-03 23:01:26 +02:00

The modular sound driver patches were funded by Red Hat Software 
(www.redhat.com). The sound driver here is thus a modified version of 
Hannu's code. Please bear that in mind when considering the appropriate
forums for bug reporting. 

Alan Cox