[PATCH] create a kstrdup library function
commit543537bd922692bc978e2e356fcd8bfc9c2ee7d5
authorPaulo Marques <pmarques@grupopie.com>
Thu, 23 Jun 2005 07:09:02 +0000 (23 00:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 23 Jun 2005 16:45:18 +0000 (23 09:45 -0700)
tree0089e3907e7d6c17c01cffc6ea4a8962ed053079
parent991114c6fa6a21d1fa4d544abe78592352860c82
[PATCH] create a kstrdup library function

This patch creates a new kstrdup library function and changes the "local"
implementations in several places to use this function.

Most of the changes come from the sound and net subsystems.  The sound part
had already been acknowledged by Takashi Iwai and the net part by David S.
Miller.

I left UML alone for now because I would need more time to read the code
carefully before making changes there.

Signed-off-by: Paulo Marques <pmarques@grupopie.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
21 files changed:
drivers/md/dm-ioctl.c
drivers/parport/probe.c
include/linux/netdevice.h
include/linux/string.h
include/sound/core.h
mm/slab.c
net/core/neighbour.c
net/core/sysctl_net_core.c
net/ipv4/devinet.c
net/ipv6/addrconf.c
net/sunrpc/svcauth_unix.c
sound/core/info.c
sound/core/info_oss.c
sound/core/memory.c
sound/core/oss/mixer_oss.c
sound/core/oss/pcm_oss.c
sound/core/sound.c
sound/core/timer.c
sound/isa/gus/gus_mem.c
sound/pci/hda/patch_realtek.c
sound/synth/emux/emux.c