lkml.org 
[lkml]   [2016]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] Doc: spi: make xmldocs warning caused by spi.c
Date
This patch fix following warnings while make xmldocs.

.//drivers/spi/spi.c:2354: warning: Excess function parameter
'message' description in 'spi_split_transfers_maxsize'
.//drivers/spi/spi.c:2354: warning: Excess function parameter
'max_size' description in 'spi_split_transfers_maxsize'

Signed-off-by: Masanari Iida <standby24x7@gmail.com>
---
drivers/spi/spi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/spi/spi.c b/drivers/spi/spi.c
index 3e45fca..fe01963 100644
--- a/drivers/spi/spi.c
+++ b/drivers/spi/spi.c
@@ -2342,8 +2342,8 @@ static int __spi_split_transfer_maxsize(struct spi_master *master,
* when an individual transfer exceeds a
* certain size
* @master: the @spi_master for this transfer
- * @message: the @spi_message to transform
- * @max_size: the maximum when to apply this
+ * @msg: the @spi_message to transform
+ * @maxsize: the maximum when to apply this
*
* Return: status of transformation
*/
--
2.7.1.339.g0233b80
\
 
 \ /
  Last update: 2016-02-22 13:01    [W:0.044 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site