Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday 26 June 2008, monstr@xxxxxxxxx wrote:
> +
> +int sys_uname(struct old_utsname *name)
> +{
> +       int err = -EFAULT;
> +
> +       down_read(&uts_sem);
> +       if (name && !copy_to_user(name, utsname(), sizeof(*name)))
> +               err = 0;
> +       up_read(&uts_sem);
> +       return err;
> +}

This actually seems to be dead code, as your sys_call_table only contains
sys_newuname but not sys_uname.

	Arnd <><
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux