diff --git a/arch/metag/kernel/process.c b/arch/metag/kernel/process.c index 455a6349efcafb..9e007195038d99 100644 --- a/arch/metag/kernel/process.c +++ b/arch/metag/kernel/process.c @@ -418,8 +418,8 @@ unsigned long __metag_elf_map(struct file *filep, unsigned long addr, map_addr = vm_mmap(filep, addr, size, prot, type, off); if ((type & MAP_FIXED_NOREPLACE) && BAD_ADDR(map_addr)) - pr_info("%d (%s): Uhuuh, elf segement at %p requested but the memory is mapped already\n", - task_pid_nr(current), tsk->comm, (void*)addr); + pr_info("%d (%s): Uhuuh, elf segment at %p requested but the memory is mapped already\n", + task_pid_nr(current), tsk->comm, (void *)addr); if (!BAD_ADDR(map_addr) && tcm_tag != TCM_INVALID_TAG) { struct tcm_allocation *tcm; diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index c862cc914a54b6..021fe78998eabf 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c @@ -378,8 +378,9 @@ static unsigned long elf_map(struct file *filep, unsigned long addr, map_addr = vm_mmap(filep, addr, size, prot, type, off); if ((type & MAP_FIXED_NOREPLACE) && BAD_ADDR(map_addr)) - pr_info("%d (%s): Uhuuh, elf segement at %p requested but the memory is mapped already\n", - task_pid_nr(current), current->comm, (void*)addr); + pr_info("%d (%s): Uhuuh, elf segment at %p requested but the memory is mapped already\n", + task_pid_nr(current), current->comm, + (void *)addr); return(map_addr); }