Commit 9eae9b13 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: style fixes in startup code

Some style fixes in startup.c.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 7242a400
...@@ -95,7 +95,7 @@ static int start_ptraced_child(void **stack_out) ...@@ -95,7 +95,7 @@ static int start_ptraced_child(void **stack_out)
status); status);
*stack_out = stack; *stack_out = stack;
return(pid); return pid;
} }
/* When testing for SYSEMU support, if it is one of the broken versions, we /* When testing for SYSEMU support, if it is one of the broken versions, we
...@@ -182,7 +182,7 @@ __uml_setup("nosysemu", nosysemu_cmd_param, ...@@ -182,7 +182,7 @@ __uml_setup("nosysemu", nosysemu_cmd_param,
static void __init check_sysemu(void) static void __init check_sysemu(void)
{ {
void *stack; void *stack;
int pid, n, status, count=0; int pid, n, status, count=0;
printf("Checking syscall emulation patch for ptrace..."); printf("Checking syscall emulation patch for ptrace...");
sysemu_supported = 0; sysemu_supported = 0;
...@@ -418,7 +418,7 @@ static inline void check_skas3_proc_mm(void) ...@@ -418,7 +418,7 @@ static inline void check_skas3_proc_mm(void)
{ {
printf(" - /proc/mm..."); printf(" - /proc/mm...");
if (os_access("/proc/mm", OS_ACC_W_OK) < 0) { if (os_access("/proc/mm", OS_ACC_W_OK) < 0) {
proc_mm = 0; proc_mm = 0;
printf("not found\n"); printf("not found\n");
} }
else { else {
...@@ -445,7 +445,7 @@ int can_do_skas(void) ...@@ -445,7 +445,7 @@ int can_do_skas(void)
#else #else
int can_do_skas(void) int can_do_skas(void)
{ {
return(0); return 0;
} }
#endif #endif
...@@ -493,11 +493,11 @@ int __init parse_iomem(char *str, int *add) ...@@ -493,11 +493,11 @@ int __init parse_iomem(char *str, int *add)
iomem_regions = new; iomem_regions = new;
iomem_size += new->size + UM_KERN_PAGE_SIZE; iomem_size += new->size + UM_KERN_PAGE_SIZE;
return(0); return 0;
out_close: out_close:
os_close_file(fd); os_close_file(fd);
out: out:
return(1); return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment