From: "Nuno Sá" <noname.nuno@gmail.com>
To: Folker Schwesinger <dev@folker-schwesinger.de>,
Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Nuno Sa <nuno.sa@analog.com>,
Paul Cercueil <paul@crapouillou.net>,
Peter Zijlstra <peterz@infradead.org>
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] iio: buffer-dma: Fix docstrings
Date: Fri, 28 Feb 2025 08:26:44 +0000 [thread overview]
Message-ID: <37a99292819c20e6da5227cd46e9f1250cb67804.camel@gmail.com> (raw)
In-Reply-To: <D83IPSTKYWNB.1PUBV1530XI86@folker-schwesinger.de>
On Thu, 2025-02-27 at 20:27 +0100, Folker Schwesinger wrote:
> Fix a typo in the docstring of iio_dma_buffer_read() and fix what looks
> like a copy-and-paste error in the iio_dma_buffer_write() docstring.
>
> Signed-off-by: Folker Schwesinger <dev@folker-schwesinger.de>
> ---
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
> drivers/iio/buffer/industrialio-buffer-dma.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/buffer/industrialio-buffer-dma.c
> b/drivers/iio/buffer/industrialio-buffer-dma.c
> index 7ea784304ffb..ee294a775e8a 100644
> --- a/drivers/iio/buffer/industrialio-buffer-dma.c
> +++ b/drivers/iio/buffer/industrialio-buffer-dma.c
> @@ -624,7 +624,7 @@ static int iio_dma_buffer_io(struct iio_buffer *buffer,
> size_t n,
>
> /**
> * iio_dma_buffer_read() - DMA buffer read callback
> - * @buffer: Buffer to read form
> + * @buffer: Buffer to read from
> * @n: Number of bytes to read
> * @user_buffer: Userspace buffer to copy the data to
> *
> @@ -640,7 +640,7 @@ EXPORT_SYMBOL_NS_GPL(iio_dma_buffer_read,
> "IIO_DMA_BUFFER");
>
> /**
> * iio_dma_buffer_write() - DMA buffer write callback
> - * @buffer: Buffer to read form
> + * @buffer: Buffer to write to
> * @n: Number of bytes to read
> * @user_buffer: Userspace buffer to copy the data from
> *
>
> base-commit: faeaa1ec6c63b6676679f321601471772f2a0c9b
next prev parent reply other threads:[~2025-02-28 8:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-27 19:27 [PATCH] iio: buffer-dma: Fix docstrings Folker Schwesinger
2025-02-28 8:26 ` Nuno Sá [this message]
2025-03-04 14:49 ` Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=37a99292819c20e6da5227cd46e9f1250cb67804.camel@gmail.com \
--to=noname.nuno@gmail.com \
--cc=dev@folker-schwesinger.de \
--cc=jic23@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nuno.sa@analog.com \
--cc=paul@crapouillou.net \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox