Re: [ALPHA PATCH] vivid: add media device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Hans,

I love your patch! Yet something to improve:

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.16-rc2 next-20180222]
[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/Hans-Verkuil/vivid-add-media-device/20180222-135752
base:   git://linuxtv.org/media_tree.git master
config: frv-allnoconfig (attached as .config)
compiler: frv-linux-gcc (GCC) 7.2.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
        make.cross ARCH=frv 

All errors (new ones prefixed by >>):

   In file included from include/linux/cache.h:6:0,
   from include/linux/printk.h:9,
   from include/linux/kernel.h:14,
   from include/linux/list.h:9,
   from include/linux/rculist.h:10,
   from include/linux/pid.h:5,
   from include/linux/sched.h:14,
   from arch/frv/kernel/asm-offsets.c:8:
>> arch/frv/include/asm/cache.h:17:26: error: 'CONFIG_FRV_L1_CACHE_SHIFT' undeclared here (not in a function); did you mean
   #define L1_CACHE_SHIFT (CONFIG_FRV_L1_CACHE_SHIFT)
   ^
   arch/frv/include/asm/cache.h:18:31: note: in expansion of macro 'L1_CACHE_SHIFT'
   #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
   ^~~~~~~~~~~~~~
   arch/frv/include/asm/cache.h:21:54: note: in expansion of macro 'L1_CACHE_BYTES'
   #define ____cacheline_aligned __attribute__((aligned(L1_CACHE_BYTES)))
   ^~~~~~~~~~~~~~
   include/linux/hrtimer.h:221:3: note: in expansion of macro '____cacheline_aligned'
   } ____cacheline_aligned;
   ^~~~~~~~~~~~~~~~~~~~~
   Makefile arch include kernel scripts source Error 1
   Target '__build' not remade because of errors.
   Makefile arch include kernel scripts source Error 2
   Target 'prepare' not remade because of errors.
   make: Makefile arch include kernel scripts source Error 2

vim +/CONFIG_FRV_L1_CACHE_SHIFT +17 arch/frv/include/asm/cache.h

^1da177e include/asm-frv/cache.h Linus Torvalds 2005-04-16  14  
^1da177e include/asm-frv/cache.h Linus Torvalds 2005-04-16  15  
^1da177e include/asm-frv/cache.h Linus Torvalds 2005-04-16  16  /* bytes per L1 cache line */
^1da177e include/asm-frv/cache.h Linus Torvalds 2005-04-16 @17  #define L1_CACHE_SHIFT		(CONFIG_FRV_L1_CACHE_SHIFT)
^1da177e include/asm-frv/cache.h Linus Torvalds 2005-04-16  18  #define L1_CACHE_BYTES		(1 << L1_CACHE_SHIFT)
^1da177e include/asm-frv/cache.h Linus Torvalds 2005-04-16  19  

:::::: The code at line 17 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux