]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
uml: reconst a parameter
authorJeff Dike <jdike@addtoit.com>
Tue, 5 Feb 2008 06:30:48 +0000 (22:30 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:26 +0000 (09:44 -0800)
commit8299ca5ce10c9532848bd2e5526ba975f8d80d1d
treebf907a849446fea6480b715fbac0f77d4166e0fd
parent300ecf59c0ca2c09fb7fde7dff986a7306e95361
uml: reconst a parameter

The previous const-ing patch consted a string which shouldn't have
been, and I didn't notice the gcc warning.

ubd_setup can't take a const char * because its address is assigned to
something which expects a char *arg.  Many setups modify the string
they are given, they can't be const.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/drivers/ubd_kern.c