2008-02-02 01:33:55

by Oliver Pinter

[permalink] [raw]
Subject: [2.6.22.y] {02/17} - invalid-semicolon - series for stable kernel #2

mainline: 2b02d13996fe28478e45605de9bd8bdca25718de

--
Thanks,
Oliver


Attachments:
(No filename) (71.00 B)
invalid-semicolon (1.11 kB)
Download all attachments

2008-02-06 23:00:31

by Oliver Pinter

[permalink] [raw]
Subject: Re: [2.6.22.y] {02/17} - invalid-semicolon - series for stable kernel #2

---8<---
From: Ilpo Järvinen <[email protected]>
Subject: [POWERPC] Fix invalid semicolon after if statement
Patch-mainline: 2.6.23-rc4 2b02d13996fe28478e45605de9bd8bdca25718de
Acked-by: [email protected]

A similar fix to netfilter from Eric Dumazet inspired me to
look around a bit by using some grep/sed stuff as looking for
this kind of bugs seemed easy to automate. This is one of them
I found where it looks like this semicolon is not valid.

Signed-off-by: Ilpo Järvinen <[email protected]>
Acked-by: Benjamin Herrenschmidt <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>

---
arch/powerpc/mm/hash_utils_64.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/powerpc/mm/hash_utils_64.c 2007-07-08 19:32:17.000000000 -0400
+++ b/arch/powerpc/mm/hash_utils_64.c 2007-08-27 14:01:20.000000000 -0400
@@ -795,7 +795,7 @@ void hash_preload(struct mm_struct *mm,

#ifdef CONFIG_PPC_MM_SLICES
/* We only prefault standard pages for now */
- if (unlikely(get_slice_psize(mm, ea) != mm->context.user_psize));
+ if (unlikely(get_slice_psize(mm, ea) != mm->context.user_psize))
return;
#endif
---8<---

On 2/2/08, Oliver Pinter (Pint?r Oliv?r) <[email protected]> wrote:
> mainline: 2b02d13996fe28478e45605de9bd8bdca25718de
>
> --
> Thanks,
> Oliver
>


--
Thanks,
Oliver