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

From: Arnd Bergmann
Date: Thu Jun 26 2008 - 12:05:30 EST


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-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/