lkml.org 
[lkml]   [2019]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] powerpc/irq: bring back ksp_limit management in C functions.
Hi Christophe,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[cannot apply to v5.3 next-20190916]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url: https://github.com/0day-ci/linux/commits/Christophe-Leroy/powerpc-irq-bring-back-ksp_limit-management-in-C-functions/20190918-042716
config: powerpc-iss476-smp_defconfig (attached as .config)
compiler: powerpc-linux-gcc (GCC) 7.4.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=powerpc

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

In file included from arch/powerpc/include/asm/prom.h:15:0,
from arch/powerpc/sysdev/dcr.c:11:
arch/powerpc/include/asm/irq.h: In function 'get_ksp_limit':
>> arch/powerpc/include/asm/irq.h:70:12: error: dereferencing pointer to incomplete type 'struct task_struct'
return tsk->thread.ksp_limit;
^~

vim +70 arch/powerpc/include/asm/irq.h

66
67 #ifdef CONFIG_PPC32
68 static inline unsigned long get_ksp_limit(struct task_struct *tsk)
69 {
> 70 return tsk->thread.ksp_limit;
71 }
72

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2019-09-18 00:36    [W:1.066 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site