]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uml: use kstrdup
authorJeff Dike <jdike@addtoit.com>
Fri, 6 Jan 2006 08:18:48 +0000 (00:18 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 6 Jan 2006 16:33:45 +0000 (08:33 -0800)
commit5a6b30ba8e658a3aa52e3e19c7b3ad8bc3e70ddd
tree0af12c696e86ec294d966c704821f806b6e28883
parent42b5c0c1a1291a007dd7f1b0ea97261c33396c45
[PATCH] uml: use kstrdup

There were a bunch of calls to uml_strdup dating from before kstrdup was
introduced.  This changes those calls.  It doesn't eliminate the definition
since there is still a couple of calls in userspace code (which should
probably call the libc strdup).

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/drivers/line.c
arch/um/drivers/mconsole_kern.c
arch/um/drivers/net_kern.c
arch/um/drivers/ubd_kern.c