1. [linux-3.16-rc5/arch/sh/kernel/ptrace_32.c:382]: (style) Checking if unsigned variable 'addr' is less than zero. Source code is if ((addr & 3) || addr < 0 || addr > sizeof(struct user) - 3) break; but unsigned long addr, Suggest new code if ((addr & 3) || addr > sizeof(struct user) - 3) break; 2. [linux-3.16-rc5/arch/sh/kernel/ptrace_32.c:422]: (style) Checking if unsigned variable 'addr' is less than zero. Duplicate.
Same thing at arch/sh/kernel/ptrace_64.c:398 and arch/sh/kernel/ptrace_64.c:426
Thanks, patch submitted: https://patchwork.kernel.org/patch/4575041/