[xilinx-xlnx:xlnx_rebase_v5.15_LTS 169/1029] drivers/dma/xilinx/vdmatest.c:89: warning: expecting prototype for struct vdmatest_slave_thread. Prototype was for struct xilinx_vdmatest_slave_thread instead
kernel test robot
lkp at intel.com
Sun Mar 27 03:19:23 PDT 2022
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head: 1870e0fa79a9d58c6748c34550f3ccea0b515933
commit: ab760699820df369f94bcbbec0ce4b4e53fa2ae9 [169/1029] dmaengine: xilinx: Add vdmatest test client code
config: arm64-allmodconfig (https://download.01.org/0day-ci/archive/20220327/202203271838.nOI1qzaX-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 0f6d9501cf49ce02937099350d08f20c4af86f3d)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# https://github.com/Xilinx/linux-xlnx/commit/ab760699820df369f94bcbbec0ce4b4e53fa2ae9
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
git checkout ab760699820df369f94bcbbec0ce4b4e53fa2ae9
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
>> drivers/dma/xilinx/vdmatest.c:89: warning: expecting prototype for struct vdmatest_slave_thread. Prototype was for struct xilinx_vdmatest_slave_thread instead
>> drivers/dma/xilinx/vdmatest.c:101: warning: expecting prototype for struct vdmatest_chan. Prototype was for struct xilinx_vdmatest_chan instead
vim +89 drivers/dma/xilinx/vdmatest.c
69
70 /**
71 * struct vdmatest_slave_thread - VDMA test thread
72 * @node: Thread node
73 * @task: Task structure pointer
74 * @tx_chan: Tx channel pointer
75 * @rx_chan: Rx Channel pointer
76 * @srcs: Source buffer
77 * @dsts: Destination buffer
78 * @type: DMA transaction type
79 */
80 struct xilinx_vdmatest_slave_thread {
81 struct list_head node;
82 struct task_struct *task;
83 struct dma_chan *tx_chan;
84 struct dma_chan *rx_chan;
85 u8 **srcs;
86 u8 **dsts;
87 enum dma_transaction_type type;
88 bool done;
> 89 };
90
91 /**
92 * struct vdmatest_chan - VDMA Test channel
93 * @node: Channel node
94 * @chan: DMA channel pointer
95 * @threads: List of VDMA test threads
96 */
97 struct xilinx_vdmatest_chan {
98 struct list_head node;
99 struct dma_chan *chan;
100 struct list_head threads;
> 101 };
102
--
0-DAY CI Kernel Test Service
https://01.org/lkp
More information about the linux-arm-kernel
mailing list