--- zzzz-none-000/linux-2.6.19.2/init/do_mounts_md.c 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/init/do_mounts_md.c 2007-01-19 14:42:56.000000000 +0000 @@ -167,7 +167,7 @@ partitioned ? "_d" : "", minor, md_setup_args[ent].device_names); - fd = sys_open(name, 0, 0); + fd = sys_open((char __user *)name, 0, 0); if (fd < 0) { printk(KERN_ERR "md: open failed - cannot start " "array %s\n", name); @@ -230,7 +230,7 @@ * array without it */ sys_close(fd); - fd = sys_open(name, 0, 0); + fd = sys_open((char __user *)name, 0, 0); sys_ioctl(fd, BLKRRPART, 0); } sys_close(fd); @@ -271,7 +271,7 @@ if (raid_noautodetect) printk(KERN_INFO "md: Skipping autodetection of RAID arrays. (raid=noautodetect)\n"); else { - int fd = sys_open("/dev/md0", 0, 0); + int fd = sys_open((char __user *)"/dev/md0", 0, 0); if (fd >= 0) { sys_ioctl(fd, RAID_AUTORUN, raid_autopart); sys_close(fd);