Re: [Intel-gfx] [PATCH v4 7/7] amdgpu: define a dydbg-bitmap to control categorized pr_debugs
by kernel test robot
Hi Jim,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on linus/master v5.14-rc3]
[cannot apply to drm-tip/drm-tip next-20210730]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jim-Cromie/drm-use-dyndbg-in-drm...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-randconfig-a014-20210801 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/b0c348e08c2b54c813ebdf26527700079...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jim-Cromie/drm-use-dyndbg-in-drm_print/20210801-054510
git checkout b0c348e08c2b54c813ebdf26527700079c1f5360
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:65:32: error: expected identifier
DEFINE_DYNDBG_BITMAP(debug_dc, &__debug_dc,
^
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:65:1: warning: declaration specifier missing, defaulting to 'int'
DEFINE_DYNDBG_BITMAP(debug_dc, &__debug_dc,
^
int
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:65:21: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
DEFINE_DYNDBG_BITMAP(debug_dc, &__debug_dc,
^
1 warning and 2 errors generated.
vim +65 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c
64
> 65 DEFINE_DYNDBG_BITMAP(debug_dc, &__debug_dc,
66 MY_DYNDBG_PARM_DESC(debug_dc),
67 cmd_help("[CURSOR]:"),
68 cmd_help("[PFLIP]:"),
69 cmd_help("[VBLANK]:"),
70 cmd_help("[HW_LINK_TRAINING]:"),
71 cmd_help("[HW_AUDIO]:"),
72 cmd_help("[SCALER]:"),
73 cmd_help("[BIOS]:"),
74 cmd_help("[BANDWIDTH_CALCS]:"),
75 cmd_help("[DML]:"),
76 cmd_help("[IF_TRACE]:"),
77 cmd_help("[GAMMA]:"),
78 cmd_help("[SMU_MSG]:"));
79
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
[chao-linux:dev 7/7] fs/f2fs/extent_cache.c:690:31: error: variable has incomplete type 'struct extent_info_unaligned'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git dev
head: 2d3893d5b67f8ee259cf86b2493dc25b4fbf7423
commit: 2d3893d5b67f8ee259cf86b2493dc25b4fbf7423 [7/7] f2fs: extent cache: support unaligned extent
config: x86_64-randconfig-a013-20210728 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project c49df15c278857adecd12db6bb1cdc96885f7079)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git/commit/?id...
git remote add chao-linux https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git
git fetch --no-tags chao-linux dev
git checkout 2d3893d5b67f8ee259cf86b2493dc25b4fbf7423
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from fs/f2fs/file.c:27:
>> fs/f2fs/f2fs.h:4027:13: warning: declaration of 'struct extent_info_unaligned' will not be visible outside of this function [-Wvisibility]
struct extent_info_unaligned *eiu);
^
1 warning generated.
--
In file included from fs/f2fs/extent_cache.c:14:
>> fs/f2fs/f2fs.h:4027:13: warning: declaration of 'struct extent_info_unaligned' will not be visible outside of this function [-Wvisibility]
struct extent_info_unaligned *eiu);
^
>> fs/f2fs/extent_cache.c:690:31: error: variable has incomplete type 'struct extent_info_unaligned'
struct extent_info_unaligned eiu;
^
fs/f2fs/extent_cache.c:690:9: note: forward declaration of 'struct extent_info_unaligned'
struct extent_info_unaligned eiu;
^
1 warning and 1 error generated.
vim +690 fs/f2fs/extent_cache.c
681
682 void f2fs_update_extent_tree_range_unaligned(struct inode *inode,
683 pgoff_t fofs, block_t blkaddr, unsigned int llen,
684 unsigned int plen)
685 {
686 struct f2fs_sb_info *sbi = F2FS_I_SB(inode);
687 struct extent_tree *et = F2FS_I(inode)->extent_tree;
688 struct extent_node *en = NULL;
689 struct extent_node *prev_en = NULL, *next_en = NULL;
> 690 struct extent_info_unaligned eiu;
691 struct rb_node **insert_p = NULL, *insert_parent = NULL;
692 bool leftmost = false;
693
694 trace_f2fs_update_extent_tree_range(inode, fofs, blkaddr, llen);
695
696 write_lock(&et->lock);
697
698 if (is_inode_flag_set(inode, FI_NO_EXTENT)) {
699 write_unlock(&et->lock);
700 return;
701 }
702
703 en = (struct extent_node *)f2fs_lookup_rb_tree_ret(&et->root,
704 (struct rb_entry *)et->cached_en, fofs,
705 (struct rb_entry **)&prev_en,
706 (struct rb_entry **)&next_en,
707 &insert_p, &insert_parent, false,
708 &leftmost);
709 f2fs_bug_on(sbi, en);
710
711 set_extent_info(&eiu.ei, fofs, blkaddr, llen);
712 eiu.plen = plen;
713
714 if (!__try_merge_extent_node(sbi, et, (struct extent_info *)&eiu,
715 prev_en, next_en, true))
716 __insert_extent_tree(sbi, et, (struct extent_info *)&eiu,
717 insert_p, insert_parent, leftmost, true);
718
719 write_unlock(&et->lock);
720 }
721
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [Intel-gfx] [PATCH v4 7/7] amdgpu: define a dydbg-bitmap to control categorized pr_debugs
by kernel test robot
Hi Jim,
I love your patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on linus/master v5.14-rc3]
[cannot apply to drm-tip/drm-tip next-20210730]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Jim-Cromie/drm-use-dyndbg-in-drm...
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: powerpc-randconfig-r014-20210801 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/b0c348e08c2b54c813ebdf26527700079...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jim-Cromie/drm-use-dyndbg-in-drm_print/20210801-054510
git checkout b0c348e08c2b54c813ebdf26527700079c1f5360
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=powerpc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:65:31: error: expected ')' before '&' token
65 | DEFINE_DYNDBG_BITMAP(debug_dc, &__debug_dc,
| ^~
| )
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for SND_SOC_MPC5200_AC97
Depends on SOUND && !UML && SND && SND_SOC && SND_POWERPC_SOC && PPC_MPC52xx && PPC_BESTCOMM
Selected by
- SND_MPC52xx_SOC_EFIKA && SOUND && !UML && SND && SND_SOC && SND_POWERPC_SOC && PPC_EFIKA
vim +65 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c
64
> 65 DEFINE_DYNDBG_BITMAP(debug_dc, &__debug_dc,
66 MY_DYNDBG_PARM_DESC(debug_dc),
67 cmd_help("[CURSOR]:"),
68 cmd_help("[PFLIP]:"),
69 cmd_help("[VBLANK]:"),
70 cmd_help("[HW_LINK_TRAINING]:"),
71 cmd_help("[HW_AUDIO]:"),
72 cmd_help("[SCALER]:"),
73 cmd_help("[BIOS]:"),
74 cmd_help("[BANDWIDTH_CALCS]:"),
75 cmd_help("[DML]:"),
76 cmd_help("[IF_TRACE]:"),
77 cmd_help("[GAMMA]:"),
78 cmd_help("[SMU_MSG]:"));
79
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
ice_main.c:undefined reference to `ice_ptp_release'
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c7d102232649226a69dddd58a4942cf13cff4f7c
commit: 06c16d89d2cbe284c2792caa7648c052c1b91042 ice: register 1588 PTP clock device object for E810 devices
date: 7 weeks ago
config: arc-randconfig-r022-20210731 (attached as .config)
compiler: arc-elf-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 06c16d89d2cbe284c2792caa7648c052c1b91042
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arc SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
arc-elf-ld: lib/stackdepot.o: in function `filter_irq_stacks':
stackdepot.c:(.text+0x6): undefined reference to `__irqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x6): undefined reference to `__irqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x26): undefined reference to `__irqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x26): undefined reference to `__irqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x2e): undefined reference to `__softirqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x2e): undefined reference to `__softirqentry_text_start'
arc-elf-ld: stackdepot.c:(.text+0x36): undefined reference to `__softirqentry_text_end'
arc-elf-ld: stackdepot.c:(.text+0x36): undefined reference to `__softirqentry_text_end'
arc-elf-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_prepare_for_reset':
>> ice_main.c:(.text+0x1a9e): undefined reference to `ice_ptp_release'
>> arc-elf-ld: ice_main.c:(.text+0x1a9e): undefined reference to `ice_ptp_release'
arc-elf-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_remove':
ice_main.c:(.text+0x2dfc): undefined reference to `ice_ptp_release'
arc-elf-ld: ice_main.c:(.text+0x2dfc): undefined reference to `ice_ptp_release'
arc-elf-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_rebuild':
>> ice_main.c:(.text+0x348a): undefined reference to `ice_ptp_init'
>> arc-elf-ld: ice_main.c:(.text+0x348a): undefined reference to `ice_ptp_init'
arc-elf-ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_probe':
ice_main.c:(.text+0x8cfa): undefined reference to `ice_ptp_init'
arc-elf-ld: ice_main.c:(.text+0x8cfa): undefined reference to `ice_ptp_init'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:993:44: warning: variable 'size6' set but not used
by kernel test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: c7d102232649226a69dddd58a4942cf13cff4f7c
commit: 010b430d5df556d5d232e3751ac691ba9e88c041 mptcp: MPTCP_IPV6 should depend on IPV6 instead of selecting it
date: 9 months ago
config: ia64-randconfig-r014-20210801 (attached as .config)
compiler: ia64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit...
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 010b430d5df556d5d232e3751ac691ba9e88c041
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=ia64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/ia64/include/asm/pgtable.h:154,
from include/linux/pgtable.h:6,
from arch/ia64/include/asm/uaccess.h:40,
from include/linux/uaccess.h:9,
from include/linux/sched/task.h:11,
from include/linux/sched/signal.h:9,
from include/linux/rcuwait.h:6,
from include/linux/percpu-rwsem.h:7,
from include/linux/fs.h:33,
from include/linux/seq_file.h:11,
from include/scsi/scsi_host.h:10,
from drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:19:
arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
arch/ia64/include/asm/mmu_context.h:137:41: warning: variable 'old_rr4' set but not used [-Wunused-but-set-variable]
137 | unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;
| ^~~~~~~
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c: In function 'csk_act_open_retry_timer':
>> drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:993:44: warning: variable 'size6' set but not used [-Wunused-but-set-variable]
993 | int t4 = is_t4(lldi->adapter_type), size, size6;
| ^~~~~
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c: In function 'init_act_open':
drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:1774:21: warning: variable 'size6' set but not used [-Wunused-but-set-variable]
1774 | unsigned int size, size6;
| ^~~~~
vim +/size6 +993 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 985
cd07f958e88250 Kees Cook 2017-08-28 986 static void csk_act_open_retry_timer(struct timer_list *t)
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 987 {
001586a737ee8c Anish Bhatt 2014-10-15 988 struct sk_buff *skb = NULL;
cd07f958e88250 Kees Cook 2017-08-28 989 struct cxgbi_sock *csk = from_timer(csk, t, retry_timer);
3bd3e8bf6250f3 Karen Xie 2013-05-29 990 struct cxgb4_lld_info *lldi = cxgbi_cdev_priv(csk->cdev);
759a0cc5a3e1bc Anish Bhatt 2014-07-17 991 void (*send_act_open_func)(struct cxgbi_sock *, struct sk_buff *,
759a0cc5a3e1bc Anish Bhatt 2014-07-17 992 struct l2t_entry *);
759a0cc5a3e1bc Anish Bhatt 2014-07-17 @993 int t4 = is_t4(lldi->adapter_type), size, size6;
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 994
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 995 log_debug(1 << CXGBI_DBG_TOE | 1 << CXGBI_DBG_SOCK,
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 996 "csk 0x%p,%u,0x%lx,%u.\n",
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 997 csk, csk->state, csk->flags, csk->tid);
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 998
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 999 cxgbi_sock_get(csk);
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 1000 spin_lock_bh(&csk->lock);
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1001
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1002 if (t4) {
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1003 size = sizeof(struct cpl_act_open_req);
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1004 size6 = sizeof(struct cpl_act_open_req6);
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1005 } else {
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1006 size = sizeof(struct cpl_t5_act_open_req);
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1007 size6 = sizeof(struct cpl_t5_act_open_req6);
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1008 }
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1009
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1010 if (csk->csk_family == AF_INET) {
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1011 send_act_open_func = send_act_open_req;
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1012 skb = alloc_wr(size, 0, GFP_ATOMIC);
f42bb57c61fd21 Anish Bhatt 2014-10-14 1013 #if IS_ENABLED(CONFIG_IPV6)
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1014 } else {
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1015 send_act_open_func = send_act_open_req6;
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1016 skb = alloc_wr(size6, 0, GFP_ATOMIC);
f42bb57c61fd21 Anish Bhatt 2014-10-14 1017 #endif
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1018 }
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1019
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 1020 if (!skb)
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 1021 cxgbi_sock_fail_act_open(csk, -ENOMEM);
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 1022 else {
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 1023 skb->sk = (struct sock *)csk;
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 1024 t4_set_arp_err_handler(skb, csk,
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 1025 cxgbi_sock_act_open_req_arp_failure);
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1026 send_act_open_func(csk, skb, csk->l2t);
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 1027 }
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1028
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 1029 spin_unlock_bh(&csk->lock);
7b36b6e03b0d6c kxie(a)chelsio.com 2010-08-16 1030 cxgbi_sock_put(csk);
759a0cc5a3e1bc Anish Bhatt 2014-07-17 1031
:::::: The code at line 993 was first introduced by commit
:::::: 759a0cc5a3e1bc2cc48fa3c0b91bdcad8b8f87d6 cxgb4i: Add ipv6 code to driver, call into libcxgbi ipv6 api
:::::: TO: Anish Bhatt <anish(a)chelsio.com>
:::::: CC: David S. Miller <davem(a)davemloft.net>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year
Re: [PATCH v7 3/3] iio: accel: adxl355: Add triggered buffer support
by kernel test robot
Hi Puranjay,
I love your patch! Yet something to improve:
[auto build test ERROR on iio/togreg]
[also build test ERROR on linus/master v5.14-rc3 next-20210730]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Puranjay-Mohan/iio-accel-add-sup...
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
config: m68k-randconfig-r016-20210801 (attached as .config)
compiler: m68k-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/4910f5a21dff1f02b50cebccab5096f3c...
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Puranjay-Mohan/iio-accel-add-support-for-ADXL355/20210801-065318
git checkout 4910f5a21dff1f02b50cebccab5096f3cce329b9
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash drivers/iio/accel/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
drivers/iio/accel/adxl355_core.c: In function 'adxl355_probe_trigger':
>> drivers/iio/accel/adxl355_core.c:609:19: error: 'struct iio_dev' has no member named 'id'
609 | indio_dev->id);
| ^~
vim +609 drivers/iio/accel/adxl355_core.c
596
597 static int adxl355_probe_trigger(struct iio_dev *indio_dev)
598 {
599 struct adxl355_data *data = iio_priv(indio_dev);
600 int ret;
601
602 if (!data->irq) {
603 dev_info(data->dev, "no irq, using polling\n");
604 return 0;
605 }
606
607 data->dready_trig = devm_iio_trigger_alloc(data->dev, "%s-dev%d",
608 indio_dev->name,
> 609 indio_dev->id);
610 if (!data->dready_trig)
611 return -ENOMEM;
612
613 data->dready_trig->ops = &adxl355_trigger_ops;
614 iio_trigger_set_drvdata(data->dready_trig, indio_dev);
615
616 ret = devm_request_irq(data->dev, data->irq,
617 &iio_trigger_generic_data_rdy_poll,
618 IRQF_ONESHOT, "adxl355_irq", data->dready_trig);
619 if (ret < 0)
620 return dev_err_probe(data->dev, ret, "request irq %d failed\n",
621 data->irq);
622
623 ret = devm_iio_trigger_register(data->dev, data->dready_trig);
624 if (ret) {
625 dev_err(data->dev, "iio trigger register failed\n");
626 return ret;
627 }
628
629 indio_dev->trig = iio_trigger_get(data->dready_trig);
630
631 return 0;
632 }
633
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
1 year