Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1339401 > unrolled thread

[PATCH] Doc: spi: make xmldocs warning caused by spi.c

Started byMasanari Iida <standby24x7@gmail.com>
First post2016-02-22 12:40 +0100
Last post2016-02-22 15:10 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] Doc: spi: make xmldocs warning caused by spi.c Masanari Iida <standby24x7@gmail.com> - 2016-02-22 12:40 +0100
    Re: [PATCH] Doc: spi: make xmldocs warning caused by spi.c Mark Brown <broonie@kernel.org> - 2016-02-22 15:10 +0100

#1339401 — [PATCH] Doc: spi: make xmldocs warning caused by spi.c

FromMasanari Iida <standby24x7@gmail.com>
Date2016-02-22 12:40 +0100
Subject[PATCH] Doc: spi: make xmldocs warning caused by spi.c
Message-ID<r4X0l-58j-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1339494

FromMark Brown <broonie@kernel.org>
Date2016-02-22 15:10 +0100
Message-ID<r4Zlv-6Vd-1@gated-at.bofh.it>
In reply to#1339401

[Multipart message — attachments visible in raw view] — view raw

On Mon, Feb 22, 2016 at 08:33:44PM +0900, Masanari Iida wrote:
> 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'

Please use subject lines matching the style for the subsystem.  This
makes it easier for people to identify relevant patches.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web