tree: git://people.freedesktop.org/~gabbayo/linux habanalabs-next head: 26238fa1d1b5837f4ff047721adbfafed48bf175 commit: f58f37e092abe1577fcc4fd5d29b9b1a533c6e54 [32/36] habanalabs: add gaudi asic-dependent code config: i386-randconfig-a002-20200514 (attached as .config) compiler: gcc-4.9 (Ubuntu 4.9.3-13ubuntu2) 4.9.3 reproduce: git checkout f58f37e092abe1577fcc4fd5d29b9b1a533c6e54 # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag as appropriate Reported-by: kbuild test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>, old ones prefixed by <<): In file included from include/linux/dynamic_debug.h:6:0, from include/linux/printk.h:326, from include/linux/kernel.h:15, from include/linux/list.h:9, from include/linux/kobject.h:19, from include/linux/cdev.h:5, from drivers/misc/habanalabs/habanalabs.h:14, from drivers/misc/habanalabs/gaudi/gaudiP.h:12, from drivers/misc/habanalabs/gaudi/gaudi.c:8: drivers/misc/habanalabs/gaudi/gaudi.c: In function 'gaudi_get_dma_desc_list_size': >> include/linux/jump_label.h:471:59: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=] else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) ^ >> include/linux/dynamic_debug.h:105:2: note: in expansion of macro 'static_branch_unlikely' static_branch_unlikely(&descriptor.key.dd_key_false) ^ >> include/linux/dynamic_debug.h:124:6: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH' if (DYNAMIC_DEBUG_BRANCH(id)) ^ include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call' __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__) ^ include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' _dynamic_func_call(fmt,__dynamic_dev_dbg, ^ include/linux/dev_printk.h:114:2: note: in expansion of macro 'dynamic_dev_dbg' dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ include/linux/dev_printk.h:133:3: note: in expansion of macro 'dev_dbg' dev_level(dev, fmt, ##__VA_ARGS__); ^ include/linux/dev_printk.h:159:2: note: in expansion of macro 'dev_level_once' dev_level_once(dev_dbg, dev, fmt, ##__VA_ARGS__) ^ drivers/misc/habanalabs/gaudi/gaudi.c:3964:3: note: in expansion of macro 'dev_dbg_once' dev_dbg_once(hdev->dev, ^ drivers/misc/habanalabs/gaudi/gaudi.c: In function 'gaudi_pin_memory_before_cs': include/linux/jump_label.h:471:59: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 7 has type 'dma_addr_t' [-Wformat=] else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) ^ >> include/linux/dynamic_debug.h:105:2: note: in expansion of macro 'static_branch_unlikely' static_branch_unlikely(&descriptor.key.dd_key_false) ^ >> include/linux/dynamic_debug.h:124:6: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH' if (DYNAMIC_DEBUG_BRANCH(id)) ^ include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call' __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__) ^ include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' _dynamic_func_call(fmt,__dynamic_dev_dbg, ^ include/linux/dev_printk.h:114:2: note: in expansion of macro 'dynamic_dev_dbg' dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ drivers/misc/habanalabs/gaudi/gaudi.c:4032:2: note: in expansion of macro 'dev_dbg' dev_dbg(hdev->dev, ^ drivers/misc/habanalabs/gaudi/gaudi.c: In function 'gaudi_patch_dma_packet': >> include/linux/jump_label.h:471:59: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 5 has type 'dma_addr_t' [-Wformat=] else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) ^ >> include/linux/dynamic_debug.h:105:2: note: in expansion of macro 'static_branch_unlikely' static_branch_unlikely(&descriptor.key.dd_key_false) ^ >> include/linux/dynamic_debug.h:124:6: note: in expansion of macro 'DYNAMIC_DEBUG_BRANCH' if (DYNAMIC_DEBUG_BRANCH(id)) ^ include/linux/dynamic_debug.h:143:2: note: in expansion of macro '__dynamic_func_call' __dynamic_func_call(__UNIQUE_ID(ddebug), fmt, func, ##__VA_ARGS__) ^ include/linux/dynamic_debug.h:157:2: note: in expansion of macro '_dynamic_func_call' _dynamic_func_call(fmt,__dynamic_dev_dbg, ^ include/linux/dev_printk.h:114:2: note: in expansion of macro 'dynamic_dev_dbg' dynamic_dev_dbg(dev, dev_fmt(fmt), ##__VA_ARGS__) ^ include/linux/dev_printk.h:133:3: note: in expansion of macro 'dev_dbg' dev_level(dev, fmt, ##__VA_ARGS__); ^ include/linux/dev_printk.h:159:2: note: in expansion of macro 'dev_level_once' dev_level_once(dev_dbg, dev, fmt, ##__VA_ARGS__) ^ drivers/misc/habanalabs/gaudi/gaudi.c:4279:3: note: in expansion of macro 'dev_dbg_once' dev_dbg_once(hdev->dev, ^ vim +471 include/linux/jump_label.h 11276d5306b8e5 Peter Zijlstra 2015-07-24 465 11276d5306b8e5 Peter Zijlstra 2015-07-24 466 #define static_branch_unlikely(x) \ 11276d5306b8e5 Peter Zijlstra 2015-07-24 467 ({ \ 11276d5306b8e5 Peter Zijlstra 2015-07-24 468 bool branch; \ 11276d5306b8e5 Peter Zijlstra 2015-07-24 469 if (__builtin_types_compatible_p(typeof(*x), struct static_key_true)) \ 11276d5306b8e5 Peter Zijlstra 2015-07-24 470 branch = arch_static_branch_jump(&(x)->key, false); \ 11276d5306b8e5 Peter Zijlstra 2015-07-24 @471 else if (__builtin_types_compatible_p(typeof(*x), struct static_key_false)) \ 11276d5306b8e5 Peter Zijlstra 2015-07-24 472 branch = arch_static_branch(&(x)->key, false); \ 11276d5306b8e5 Peter Zijlstra 2015-07-24 473 else \ 11276d5306b8e5 Peter Zijlstra 2015-07-24 474 branch = ____wrong_branch_error(); \ 81dcf89f03204d Peter Zijlstra 2018-01-18 475 unlikely(branch); \ 11276d5306b8e5 Peter Zijlstra 2015-07-24 476 }) 11276d5306b8e5 Peter Zijlstra 2015-07-24 477 :::::: The code at line 471 was first introduced by commit :::::: 11276d5306b8e5b438a36bbff855fe792d7eaa61 locking/static_keys: Add a new static_key interface :::::: TO: Peter Zijlstra <peterz@xxxxxxxxxxxxx> :::::: CC: Ingo Molnar <mingo@xxxxxxxxxx> --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel