Re: [PATCH] sparse: use the _Generic() version of __unqual_scalar_typeof()

From: kernel test robot
Date: Sat Jun 20 2020 - 00:45:54 EST


Hi Luc,

I love your patch! Perhaps something to improve:

[auto build test WARNING on linux/master]
[also build test WARNING on linus/master v5.8-rc1 next-20200618]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use as documented in
https://git-scm.com/docs/git-format-patch]

url: https://github.com/0day-ci/linux/commits/Luc-Van-Oostenryck/sparse-use-the-_Generic-version-of-__unqual_scalar_typeof/20200619-062703
base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1b5044021070efa3259f3e9548dc35d1eb6aa844
config: i386-randconfig-m021-20200620 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

New smatch warnings:
kernel/sched/debug.c:965 proc_sched_show_task() warn: inconsistent indenting

Old smatch warnings:
include/linux/sched/clock.h:84 local_clock() warn: ignoring unreachable code.

vim +965 kernel/sched/debug.c

43ae34cb4cd650d kernel/sched_debug.c Ingo Molnar 2007-07-09 963
43ae34cb4cd650d kernel/sched_debug.c Ingo Molnar 2007-07-09 964 {
29d7b90c1503574 kernel/sched_debug.c Ingo Molnar 2008-11-16 @965 unsigned int this_cpu = raw_smp_processor_id();
43ae34cb4cd650d kernel/sched_debug.c Ingo Molnar 2007-07-09 966 u64 t0, t1;
43ae34cb4cd650d kernel/sched_debug.c Ingo Molnar 2007-07-09 967
29d7b90c1503574 kernel/sched_debug.c Ingo Molnar 2008-11-16 968 t0 = cpu_clock(this_cpu);
29d7b90c1503574 kernel/sched_debug.c Ingo Molnar 2008-11-16 969 t1 = cpu_clock(this_cpu);
9e3bf9469c29f7e kernel/sched/debug.c Valentin Schneider 2020-02-26 970 __PS("clock-delta", t1-t0);
43ae34cb4cd650d kernel/sched_debug.c Ingo Molnar 2007-07-09 971 }
b32e86b4301e345 kernel/sched/debug.c Ingo Molnar 2013-10-07 972
b32e86b4301e345 kernel/sched/debug.c Ingo Molnar 2013-10-07 973 sched_show_numa(p, m);
43ae34cb4cd650d kernel/sched_debug.c Ingo Molnar 2007-07-09 974 }
43ae34cb4cd650d kernel/sched_debug.c Ingo Molnar 2007-07-09 975

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip