tree:   https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu.git 
dev.2020.06.05a
head:   c5432e18c8bfe9283bf5e0bc5e2460ae8f39a7ee
commit: c2e2e4194231b2da0a1cc415a63220d24377381c [91/92] EXP sched: 
Experimental patch
config: x86_64-randconfig-m001-20200608 (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 <l...@intel.com>

smatch warnings:
kernel/sched/fair.c:447 find_matching_se() warn: inconsistent indenting

vim +447 kernel/sched/fair.c

   415  
   416  static void
   417  find_matching_se(struct sched_entity **se, struct sched_entity **pse)
   418  {
   419          trace_printk("S: se: %px (%d:%px) -> %px   pse: %px (%d:%px) -> 
%px\n",
   420                          *se, (*se)->depth, (*se)->cfs_rq, 
parent_entity(*se),
   421                          *pse, (*pse)->depth, (*pse)->cfs_rq, 
parent_entity(*pse));
   422  
   423          /*
   424           * preemption test can be made between sibling entities who are 
in the
   425           * same cfs_rq i.e who have a common parent. Walk up the 
hierarchy of
   426           * both tasks until we find their ancestors who are siblings of 
common
   427           * parent.
   428           */
   429  
   430          while (!is_same_group(*se, *pse)) {
   431                  int se_depth = (*se)->depth;
   432                  int pse_depth = (*pse)->depth;
   433  
   434                  if (se_depth <= pse_depth) {
   435                          struct sched_entity *parent = 
parent_entity(*pse);
   436                          if (WARN_ON_ONCE(!parent))
   437                                  return;
   438                          *pse = parent;
   439                  }
   440                  if (se_depth >= pse_depth) {
   441                          struct sched_entity *parent = 
parent_entity(*se);
   442                          if (WARN_ON_ONCE(!parent))
   443                                  return;
   444                          *se = parent_entity(*se);
   445                  }
   446  
 > 447          trace_printk("i: se: %px (%d:%px) -> %px   pse: %px (%d:%px) -> 
 > %px\n",
   448                          *se, (*se)->depth, (*se)->cfs_rq, 
parent_entity(*se),
   449                          *pse, (*pse)->depth, (*pse)->cfs_rq, 
parent_entity(*pse));
   450          }
   451  }
   452  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to