Skip to content

Commit

Permalink
[POWERPC] Fix invalid semicolon after if statement
Browse files Browse the repository at this point in the history
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 <ilpo.jarvinen@helsinki.fi>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
Ilpo Järvinen authored and Paul Mackerras committed Aug 17, 2007
1 parent 2de6912 commit 2b02d13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/mm/hash_utils_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ void hash_preload(struct mm_struct *mm, unsigned long ea,

#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

Expand Down

0 comments on commit 2b02d13

Please sign in to comment.