Skip to content

Commit 1eb64c0

Browse files
masahir0ytorvalds
authored andcommitted
sh: fix build error in mm/init.c
The closing parenthesis is missing. Fixes: bfeb022 ("mm/memory_hotplug: add pgprot_t to mhp_params") Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Logan Gunthorpe <[email protected]> Cc: Stephen Rothwell <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: Yoshinori Sato <[email protected]> Cc: Rich Felker <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Linus Torvalds <[email protected]>
1 parent ae83d0b commit 1eb64c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/sh/mm/init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ int arch_add_memory(int nid, u64 start, u64 size,
412412
unsigned long nr_pages = size >> PAGE_SHIFT;
413413
int ret;
414414

415-
if (WARN_ON_ONCE(params->pgprot.pgprot != PAGE_KERNEL.pgprot)
415+
if (WARN_ON_ONCE(params->pgprot.pgprot != PAGE_KERNEL.pgprot))
416416
return -EINVAL;
417417

418418
/* We only have ZONE_NORMAL, so this is easy.. */

0 commit comments

Comments
 (0)