Re: [PATCH] Re: Linux 2.6.27-rc5

Previous thread: [PATCH] Avoid double flush in do_tlb_flush_all() by Andi Kleen on Saturday, August 30, 2008 - 3:20 am. (2 messages)

Next thread: Fw: [PATCH 3/5] V4L/DVB: follow lspci device/vendor style by Mauro Carvalho Chehab on Saturday, August 30, 2008 - 4:22 am. (1 message)
From: Helge Deller
Date: Saturday, August 30, 2008 - 3:34 am

commit da574983de9f9283ba35662c8723627096e160de
Author: Al Viro <viro@zeniv.linux.org.uk>
[PATCH] fix hpux_getdents() - Missing checks for -EFAULT, broken handling of
overflow.

introduced a build breakage:
  CC      arch/parisc/hpux/fs.o
arch/parisc/hpux/fs.c: In function `filldir':
arch/parisc/hpux/fs.c:107: error: `buffer' undeclared (first use in this
function)
make[1]: *** [arch/parisc/hpux/fs.o] Error 1


This patch fixes it.

Signed-off-by: Helge Deller <deller@gmx.de>


diff --git a/arch/parisc/hpux/fs.c b/arch/parisc/hpux/fs.c
index 69ff671..12c04c5 100644
--- a/arch/parisc/hpux/fs.c
+++ b/arch/parisc/hpux/fs.c
@@ -104,7 +104,7 @@ static int filldir(void * __buf, const char * name, int
namlen, loff_t offset,
        buf->count -= reclen;
        return 0;
 Efault:
-       buffer->error = -EFAULT;
+       buf->error = -EFAULT;
        return -EFAULT;
 }
 


--

From: Rafael J. Wysocki
Date: Saturday, August 30, 2008 - 1:21 pm

[Adding CCs]

--

From: Al Viro
Date: Monday, September 1, 2008 - 3:28 pm

Applied after fixing cut'n'paste damage.
--

Previous thread: [PATCH] Avoid double flush in do_tlb_flush_all() by Andi Kleen on Saturday, August 30, 2008 - 3:20 am. (2 messages)

Next thread: Fw: [PATCH 3/5] V4L/DVB: follow lspci device/vendor style by Mauro Carvalho Chehab on Saturday, August 30, 2008 - 4:22 am. (1 message)