[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200806261804.25344.arnd@arndb.de>
Date: Thu, 26 Jun 2008 18:04:24 +0200
From: Arnd Bergmann <arnd@...db.de>
To: monstr@...nam.cz
Cc: linux-kernel@...r.kernel.org, linux-arch@...r.kernel.org,
stephen.neuendorffer@...inx.com, John.Linn@...inx.com,
john.williams@...alogix.com, matthew@....cx, will.newton@...il.com,
drepper@...hat.com, microblaze-uclinux@...e.uq.edu.au,
grant.likely@...retlab.ca, linuxppc-dev@...abs.org,
vapier.adi@...il.com, alan@...rguk.ukuu.org.uk, hpa@...or.com,
Michal Simek <monstr@...str.eu>
Subject: Re: [PATCH 58/60] microblaze_v4: sys_microblaze.c
On Thursday 26 June 2008, monstr@...nam.cz 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists