mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] spi: Add struct spi_master max_transfer_size member to kernel-doc
@ 2016-02-08 21:10 Javier Martinez Canillas
  2016-02-08 21:15 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Javier Martinez Canillas @ 2016-02-08 21:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: Javier Martinez Canillas, Mark Brown, linux-spi

Commit 4acad4aae10d ("spi: expose master transfer size limitation.") added
a parameter to specify the SPI controller maximum transfer size limitation
but did not update the kernel-doc so building the docs leads to a warning:

.//include/linux/spi/spi.h:540: warning: No description found for parameter 'max_transfer_size'

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 include/linux/spi/spi.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/spi/spi.h b/include/linux/spi/spi.h
index 53be3a4c60cb..093be7d50597 100644
--- a/include/linux/spi/spi.h
+++ b/include/linux/spi/spi.h
@@ -303,6 +303,7 @@ static inline void spi_unregister_driver(struct spi_driver *sdrv)
  * @min_speed_hz: Lowest supported transfer speed
  * @max_speed_hz: Highest supported transfer speed
  * @flags: other constraints relevant to this driver
+ * @max_transfer_size: specifies SPI controller maximum transfer size limit
  * @bus_lock_spinlock: spinlock for SPI bus locking
  * @bus_lock_mutex: mutex for SPI bus locking
  * @bus_lock_flag: indicates that the SPI bus is locked for exclusive use
-- 
2.5.0

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] spi: Add struct spi_master max_transfer_size member to kernel-doc
  2016-02-08 21:10 [PATCH] spi: Add struct spi_master max_transfer_size member to kernel-doc Javier Martinez Canillas
@ 2016-02-08 21:15 ` Mark Brown
  2016-02-08 21:34   ` Javier Martinez Canillas
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2016-02-08 21:15 UTC (permalink / raw)
  To: Javier Martinez Canillas; +Cc: linux-kernel, linux-spi

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

On Mon, Feb 08, 2016 at 06:10:48PM -0300, Javier Martinez Canillas wrote:
> Commit 4acad4aae10d ("spi: expose master transfer size limitation.") added
> a parameter to specify the SPI controller maximum transfer size limitation
> but did not update the kernel-doc so building the docs leads to a warning:

This duplicates a patch Randy sent earlier.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] spi: Add struct spi_master max_transfer_size member to kernel-doc
  2016-02-08 21:15 ` Mark Brown
@ 2016-02-08 21:34   ` Javier Martinez Canillas
  0 siblings, 0 replies; 3+ messages in thread
From: Javier Martinez Canillas @ 2016-02-08 21:34 UTC (permalink / raw)
  To: Mark Brown; +Cc: linux-kernel, linux-spi

Hello Mark,

On 02/08/2016 06:15 PM, Mark Brown wrote:
> On Mon, Feb 08, 2016 at 06:10:48PM -0300, Javier Martinez Canillas wrote:
>> Commit 4acad4aae10d ("spi: expose master transfer size limitation.") added
>> a parameter to specify the SPI controller maximum transfer size limitation
>> but did not update the kernel-doc so building the docs leads to a warning:
>
> This duplicates a patch Randy sent earlier.
>

Ok, I missed that patch. Thanks.

Best regards,
-- 
Javier Martinez Canillas
Open Source Group
Samsung Research America

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-08 21:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-08 21:10 [PATCH] spi: Add struct spi_master max_transfer_size member to kernel-doc Javier Martinez Canillas
2016-02-08 21:15 ` Mark Brown
2016-02-08 21:34   ` Javier Martinez Canillas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®