Skip to content

Commit 10f11a2

Browse files
Javier Martinez Canillasbroonie
authored andcommitted
spi: Add gfp parameter to kernel-doc to fix build warning
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>
1 parent c76d9ae commit 10f11a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/spi/spi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,6 +2319,7 @@ static int __spi_split_transfer_maxsize(struct spi_master *master,
23192319
* @master: the @spi_master for this transfer
23202320
* @msg: the @spi_message to transform
23212321
* @maxsize: the maximum when to apply this
2322+
* @gfp: GFP allocation flags
23222323
*
23232324
* Return: status of transformation
23242325
*/

0 commit comments

Comments
 (0)