CC: [email protected] CC: [email protected] TO: Jeffrey Mouroux <[email protected]> CC: Michal Simek <[email protected]> CC: Radhey Pandey <[email protected]> CC: John Nichols <[email protected]> CC: Hyun Kwon <[email protected]>
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15 head: 966124532656bc95d781abf57531e4cd4f962237 commit: c869e53ce34decde8d196cb8032d248031278784 [576/923] dmaengine: xilinx_frmbuf: New driver for Video Framebuffer IP :::::: branch date: 6 hours ago :::::: commit date: 9 days ago config: h8300-randconfig-c004-20220210 (https://download.01.org/0day-ci/archive/20220210/[email protected]/config) compiler: h8300-linux-gcc (GCC) 11.2.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Julia Lawall <[email protected]> cocci warnings: (new ones prefixed by >>) >> drivers/dma/xilinx/xilinx_frmbuf.c:619:8-16: ERROR: invalid reference to the >> index variable of the iterator on line 605 vim +619 drivers/dma/xilinx/xilinx_frmbuf.c c869e53ce34dec Jeffrey Mouroux 2017-07-13 598 c869e53ce34dec Jeffrey Mouroux 2017-07-13 599 static struct xilinx_frmbuf_chan *frmbuf_find_chan(struct dma_chan *chan) c869e53ce34dec Jeffrey Mouroux 2017-07-13 600 { c869e53ce34dec Jeffrey Mouroux 2017-07-13 601 struct xilinx_frmbuf_chan *xil_chan; c869e53ce34dec Jeffrey Mouroux 2017-07-13 602 bool found_xchan = false; c869e53ce34dec Jeffrey Mouroux 2017-07-13 603 c869e53ce34dec Jeffrey Mouroux 2017-07-13 604 mutex_lock(&frmbuf_chan_list_lock); c869e53ce34dec Jeffrey Mouroux 2017-07-13 @605 list_for_each_entry(xil_chan, &frmbuf_chan_list, chan_node) { c869e53ce34dec Jeffrey Mouroux 2017-07-13 606 if (chan == &xil_chan->common) { c869e53ce34dec Jeffrey Mouroux 2017-07-13 607 found_xchan = true; c869e53ce34dec Jeffrey Mouroux 2017-07-13 608 break; c869e53ce34dec Jeffrey Mouroux 2017-07-13 609 } c869e53ce34dec Jeffrey Mouroux 2017-07-13 610 } c869e53ce34dec Jeffrey Mouroux 2017-07-13 611 mutex_unlock(&frmbuf_chan_list_lock); c869e53ce34dec Jeffrey Mouroux 2017-07-13 612 c869e53ce34dec Jeffrey Mouroux 2017-07-13 613 if (!found_xchan) { c869e53ce34dec Jeffrey Mouroux 2017-07-13 614 dev_dbg(chan->device->dev, c869e53ce34dec Jeffrey Mouroux 2017-07-13 615 "dma chan not a Video Framebuffer channel instance\n"); c869e53ce34dec Jeffrey Mouroux 2017-07-13 616 return ERR_PTR(-EINVAL); c869e53ce34dec Jeffrey Mouroux 2017-07-13 617 } c869e53ce34dec Jeffrey Mouroux 2017-07-13 618 c869e53ce34dec Jeffrey Mouroux 2017-07-13 @619 return xil_chan; c869e53ce34dec Jeffrey Mouroux 2017-07-13 620 } c869e53ce34dec Jeffrey Mouroux 2017-07-13 621 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/[email protected] _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
