spi: Add gfp parameter to kernel-doc to fix build warning
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 10 Mar 2016 18:01:14 +0000 (15:01 -0300)
committerMark Brown <broonie@kernel.org>
Fri, 11 Mar 2016 07:23:01 +0000 (14:23 +0700)
The spi_split_transfers_maxsize() gfp parameter is missing in the
function kernel-doc so building gives the following warning:

.//drivers/spi/spi.c:2359: warning: No description found for parameter 'gfp'

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi.c

index 96c764d7efe66ceade3d14f0c7e6e7f5c56b7977..c881493974d8ce4b999d9fe43d1ecc356b2f3a75 100644 (file)
@@ -2319,6 +2319,7 @@ static int __spi_split_transfer_maxsize(struct spi_master *master,
  * @master:    the @spi_master for this transfer
  * @msg:   the @spi_message to transform
  * @maxsize:  the maximum when to apply this
+ * @gfp: GFP allocation flags
  *
  * Return: status of transformation
  */