mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* arch/microblaze/include/asm/mmu_context_mm.h:122:5: error: dereferencing pointer to incomplete type 'struct task_struct'
@ 2017-10-24 16:51 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-10-24 16:51 UTC (permalink / raw)
  To: Felix Kuehling; +Cc: kbuild-all, linux-kernel, Oded Gabbay

[-- Attachment #1: Type: text/plain, Size: 2234 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   6cff0a118f23b98c604a3604ea9de11338e24fbe
commit: 70539bd79500245cbb4c7af00572fcce540d0105 drm/amd: Update MEC HQD loading code for KFD
date:   2 months ago
config: microblaze-allyesconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 6.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 70539bd79500245cbb4c7af00572fcce540d0105
        # save the attached .config to linux build tree
        make.cross ARCH=microblaze 

All errors (new ones prefixed by >>):

   In file included from arch/microblaze/include/asm/mmu_context.h:2:0,
                    from include/linux/mmu_context.h:4,
                    from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h:29,
                    from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c:23:
   arch/microblaze/include/asm/mmu_context_mm.h: In function 'switch_mm':
>> arch/microblaze/include/asm/mmu_context_mm.h:122:5: error: dereferencing pointer to incomplete type 'struct task_struct'
     tsk->thread.pgdir = next->pgd;
        ^~

vim +122 arch/microblaze/include/asm/mmu_context_mm.h

fc34d1eb Michal Simek 2009-05-26  118  
fc34d1eb Michal Simek 2009-05-26  119  static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next,
fc34d1eb Michal Simek 2009-05-26  120  			     struct task_struct *tsk)
fc34d1eb Michal Simek 2009-05-26  121  {
fc34d1eb Michal Simek 2009-05-26 @122  	tsk->thread.pgdir = next->pgd;
fc34d1eb Michal Simek 2009-05-26  123  	get_mmu_context(next);
fc34d1eb Michal Simek 2009-05-26  124  	set_context(next->context, next->pgd);
fc34d1eb Michal Simek 2009-05-26  125  }
fc34d1eb Michal Simek 2009-05-26  126  

:::::: The code at line 122 was first introduced by commit
:::::: fc34d1eb1ca09d3450508e2cf9cf511364c2c460 microblaze_mmu_v2: Context handling - mmu_context.c/h

:::::: TO: Michal Simek <monstr@monstr.eu>
:::::: CC: Michal Simek <monstr@monstr.eu>

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50120 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-10-24 16:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-24 16:51 arch/microblaze/include/asm/mmu_context_mm.h:122:5: error: dereferencing pointer to incomplete type 'struct task_struct' kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®