drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'p' not described in 'spi_engine_message_state'
kernel test robot
build bottree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: ceb2fe0d438644e1de06b9a6468a1fb8e2199c70 commit: 7f970ecb77b6759d37ee743fc36fc0daba960e75 [1595/9113] spi: axi-spi-engine: move msg state to new struct config: m68k-randconfig-r036-20220907 (https://download.01.org/0day-ci/archive/20231218/[email protected]/config) compiler: m68k-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231218/[email protected]/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All warnings (new ones prefixed by >>):
>> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'p' not described in 'spi_engine_message_state' >> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'cmd_length' not described in 'spi_engine_message_state' >> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'cmd_buf' not described in 'spi_engine_message_state' >> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'tx_xfer' not described in 'spi_engine_message_state' >> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'tx_length' not described in 'spi_engine_message_state' >> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'tx_buf' not described in 'spi_engine_message_state' >> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'rx_xfer' not described in 'spi_engine_message_state' >> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'rx_length' not described in 'spi_engine_message_state' >> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'rx_buf' not described in 'spi_engine_message_state' >> drivers/spi/spi-axi-spi-engine.c:106: warning: Function parameter or struct member 'sync_id' not described in 'spi_engine_message_state'
vim +106 drivers/spi/spi-axi-spi-engine.c
81
82 /**
83 * struct spi_engine_message_state - SPI engine per-message state
84 */
85 struct spi_engine_message_state {
86 /** Instructions for executing this message. */
87 struct spi_engine_program *p;
88 /** Number of elements in cmd_buf array. */
89 unsigned cmd_length;
90 /** Array of commands not yet written to CMD FIFO. */
91 const uint16_t *cmd_buf;
92 /** Next xfer with tx_buf not yet fully written to TX FIFO. */
93 struct spi_transfer *tx_xfer;
94 /** Size of tx_buf in bytes. */
95 unsigned int tx_length;
96 /** Bytes not yet written to TX FIFO. */
97 const uint8_t *tx_buf;
98 /** Next xfer with rx_buf not yet fully written to RX FIFO. */
99 struct spi_transfer *rx_xfer;
100 /** Size of tx_buf in bytes. */
101 unsigned int rx_length;
102 /** Bytes not yet written to the RX FIFO. */
103 uint8_t *rx_buf;
104 /** ID to correlate SYNC interrupts with this message. */
105 u8 sync_id;
> 106 };107
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki