Re: [PATCH] powerpc: fix large nvram access
From: Olaf Hering <hidden>
Date: 2006-01-11 10:25:49
On Wed, Jan 11, Arnd Bergmann wrote:
Am Dienstag, 10. Januar 2006 23:13 schrieb Olaf Hering:quoted
On Mon, Jan 09, Linux Kernel Mailing List wrote:quoted
tree da8f883f72d08f9534e9eca3bba662413b9bd865 parent d52771fce4e774fa786097d34412a057d487c697 author Arnd Bergmann [off-list ref] Fri, 09 Dec 2005 19:21:44 +0100 committer Paul Mackerras [off-list ref] Mon, 09 Jan 2006 14:53:31 +1100 [PATCH] powerpc: fix large nvram access /dev/nvram uses the user-provided read/write size for kmalloc, which fails, if a large number is passed. This will always use a single page at most, which can be expected to succeed. Signed-off-by: Arnd Bergmann <redacted> Signed-off-by: Paul Mackerras <redacted> arch/powerpc/kernel/nvram_64.c | 114 +++++++++++++++++++----------------------this change breaks my nvsetenv binary on JS20.I think this has uncovered a bug that has been in nvsetenv for a long time.
Yeah. Dont bother, I will fix that tool. -- short story of a lazy sysadmin: alias appserv=wotan