Hi Mauro, I love your patch! Perhaps something to improve: [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.16 next-20180406] [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/Mauro-Carvalho-Chehab/Make-all-media-drivers-build-with-COMPILE_TEST/20180406-163048 base: git://linuxtv.org/media_tree.git master config: sparc64-allyesconfig (attached as .config) compiler: sparc64-linux-gnu-gcc (Debian 7.2.0-11) 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=sparc64 All warnings (new ones prefixed by >>): >> drivers/media/platform/fsl-viu.c:41:0: warning: "NO_IRQ" redefined #define NO_IRQ 0 In file included from arch/sparc/include/asm/irq.h:5:0, from include/linux/interrupt.h:19, from drivers/media/platform/fsl-viu.c:22: arch/sparc/include/asm/irq_64.h:98:0: note: this is the location of the previous definition #define NO_IRQ 0xffffffff drivers/media/platform/fsl-viu.c: In function 'viu_setup_preview': drivers/media/platform/fsl-viu.c:760:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] reg_val.field_base_addr = (u32)dev->ovbuf.base; ^ vim +/NO_IRQ +41 drivers/media/platform/fsl-viu.c 38 39 /* Allow building this driver with COMPILE_TEST */ 40 #ifndef CONFIG_PPC_MPC512x > 41 #define NO_IRQ 0 42 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip