[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>
Showing
- arch/um/drivers/line.c 5 additions, 5 deletionsarch/um/drivers/line.c
- arch/um/drivers/mconsole_kern.c 1 addition, 1 deletionarch/um/drivers/mconsole_kern.c
- arch/um/drivers/net_kern.c 1 addition, 1 deletionarch/um/drivers/net_kern.c
- arch/um/drivers/ubd_kern.c 1 addition, 1 deletionarch/um/drivers/ubd_kern.c
Loading
Please register or sign in to comment