Skip to content

Commit 7233243

Browse files
miquelraynalbroonie
authored andcommitted
spi: spi-mem: Add missing kdoc argument
The "*mem" pointer has been added without description, describe it in the kdoc comment in order to fix the following W=1 warning: Warning: drivers/spi/spi-mem.c:594 function parameter 'mem' not described in 'spi_mem_calc_op_duration' Fixes: a11a518 ("spi: spi-mem: Take into account the actual maximum frequency") Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202507310409.fnuQ21qb-lkp@intel.com/ Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://patch.msgid.link/20250804095013.409700-1-miquel.raynal@bootlin.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6bc8292 commit 7233243

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/spi/spi-mem.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -577,6 +577,7 @@ EXPORT_SYMBOL_GPL(spi_mem_adjust_op_freq);
577577
* spi_mem_calc_op_duration() - Derives the theoretical length (in ns) of an
578578
* operation. This helps finding the best variant
579579
* among a list of possible choices.
580+
* @mem: the SPI memory
580581
* @op: the operation to benchmark
581582
*
582583
* Some chips have per-op frequency limitations, PCBs usually have their own

0 commit comments

Comments
 (0)