tree:   https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 
WIP.sched/core
head:   a69a38e26e87ddbe993e33b55f693405cd62c76f
commit: 18722d63da35b5846c7d79eedd1b35f46eefea07 [101/122] sched/headers, 
signals: Separate out task_struct::signal and task_struct::sighand types and 
accessors into <linux/sched/signal.h>
config: powerpc-allmodconfig (attached as .config)
compiler: powerpc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 18722d63da35b5846c7d79eedd1b35f46eefea07
        # save the attached .config to linux build tree
        make.cross ARCH=powerpc 

All warnings (new ones prefixed by >>):

   drivers/misc/cxl/fault.c: In function 'get_mem_context':
   drivers/misc/cxl/fault.c:228:12: error: implicit declaration of function 
'next_thread' [-Werror=implicit-function-declaration]
        task = next_thread(task);
               ^~~~~~~~~~~
>> drivers/misc/cxl/fault.c:228:10: warning: assignment makes pointer from 
>> integer without a cast [-Wint-conversion]
        task = next_thread(task);
             ^
   drivers/misc/cxl/fault.c:229:22: error: implicit declaration of function 
'thread_group_leader' [-Werror=implicit-function-declaration]
       } while (task && !thread_group_leader(task));
                         ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +228 drivers/misc/cxl/fault.c

7b8ad495 Vaibhav Jain 2015-11-24  212    * If we couldn't find the mm context 
then use the group
7b8ad495 Vaibhav Jain 2015-11-24  213    * leader to iterate over the task 
group and find a task
7b8ad495 Vaibhav Jain 2015-11-24  214    * that gives us mm_struct.
7b8ad495 Vaibhav Jain 2015-11-24  215    */
7b8ad495 Vaibhav Jain 2015-11-24  216   if (unlikely(mm == NULL && ctx->glpid 
!= NULL)) {
7b8ad495 Vaibhav Jain 2015-11-24  217  
7b8ad495 Vaibhav Jain 2015-11-24  218           rcu_read_lock();
7b8ad495 Vaibhav Jain 2015-11-24  219           task = pid_task(ctx->glpid, 
PIDTYPE_PID);
7b8ad495 Vaibhav Jain 2015-11-24  220           if (task)
7b8ad495 Vaibhav Jain 2015-11-24  221                   do {
7b8ad495 Vaibhav Jain 2015-11-24  222                           mm = 
get_task_mm(task);
7b8ad495 Vaibhav Jain 2015-11-24  223                           if (mm) {
7b8ad495 Vaibhav Jain 2015-11-24  224                                   
ctx->pid = get_task_pid(task,
7b8ad495 Vaibhav Jain 2015-11-24  225                                           
                PIDTYPE_PID);
7b8ad495 Vaibhav Jain 2015-11-24  226                                   break;
7b8ad495 Vaibhav Jain 2015-11-24  227                           }
7b8ad495 Vaibhav Jain 2015-11-24 @228                           task = 
next_thread(task);
7b8ad495 Vaibhav Jain 2015-11-24  229                   } while (task && 
!thread_group_leader(task));
7b8ad495 Vaibhav Jain 2015-11-24  230           rcu_read_unlock();
7b8ad495 Vaibhav Jain 2015-11-24  231  
7b8ad495 Vaibhav Jain 2015-11-24  232           /* check if we switched pid */
7b8ad495 Vaibhav Jain 2015-11-24  233           if (ctx->pid != old_pid) {
7b8ad495 Vaibhav Jain 2015-11-24  234                   if (mm)
7b8ad495 Vaibhav Jain 2015-11-24  235                           
pr_devel("%s:pe=%i switch pid %i->%i\n",
7b8ad495 Vaibhav Jain 2015-11-24  236                                    
__func__, ctx->pe, pid_nr(old_pid),

:::::: The code at line 228 was first introduced by commit
:::::: 7b8ad495d59280b634a7b546f4cdf58cf4d65f61 cxl: Fix DSI misses when the 
context owning task exits

:::::: TO: Vaibhav Jain <vaib...@linux.vnet.ibm.com>
:::::: CC: Michael Ellerman <m...@ellerman.id.au>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to