* [PATCH 1/1] iio: buffer: fix the function signature to match implementation
@ 2018-06-05 6:15 Phil Reid
2018-06-10 13:35 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Phil Reid @ 2018-06-05 6:15 UTC (permalink / raw)
To: jic23, knaack.h, lars, pmeerw, preid, linux-iio
linux/iio/buffer-dma.h was not updated to when length was changed to
unsigned int.
Fixes: c043ec1ca5ba ("iio:buffer: make length types match kfifo types")
Signed-off-by: Phil Reid <preid@electromag.com.au>
---
include/linux/iio/buffer-dma.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/iio/buffer-dma.h b/include/linux/iio/buffer-dma.h
index 9182d4e..fbe053d 100644
--- a/include/linux/iio/buffer-dma.h
+++ b/include/linux/iio/buffer-dma.h
@@ -141,7 +141,7 @@ int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n,
char __user *user_buffer);
size_t iio_dma_buffer_data_available(struct iio_buffer *buffer);
int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd);
-int iio_dma_buffer_set_length(struct iio_buffer *buffer, int length);
+int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length);
int iio_dma_buffer_request_update(struct iio_buffer *buffer);
int iio_dma_buffer_init(struct iio_dma_buffer_queue *queue,
--
1.8.3.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] iio: buffer: fix the function signature to match implementation
2018-06-05 6:15 [PATCH 1/1] iio: buffer: fix the function signature to match implementation Phil Reid
@ 2018-06-10 13:35 ` Jonathan Cameron
2018-06-24 13:24 ` Jonathan Cameron
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2018-06-10 13:35 UTC (permalink / raw)
To: Phil Reid; +Cc: knaack.h, lars, pmeerw, linux-iio
On Tue, 5 Jun 2018 14:15:10 +0800
Phil Reid <preid@electromag.com.au> wrote:
> linux/iio/buffer-dma.h was not updated to when length was changed to
> unsigned int.
>
> Fixes: c043ec1ca5ba ("iio:buffer: make length types match kfifo types")
> Signed-off-by: Phil Reid <preid@electromag.com.au>
Thanks, but I'll need to hold this for a few weeks due to some
ordering issues with some fixes that are queued up in my fixes branch
for after the merge window closes.
Give me a poke if I seem to have forgotten it in perhaps 2 weeks time.
Thanks,
Jonathan
> ---
> include/linux/iio/buffer-dma.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/iio/buffer-dma.h b/include/linux/iio/buffer-dma.h
> index 9182d4e..fbe053d 100644
> --- a/include/linux/iio/buffer-dma.h
> +++ b/include/linux/iio/buffer-dma.h
> @@ -141,7 +141,7 @@ int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n,
> char __user *user_buffer);
> size_t iio_dma_buffer_data_available(struct iio_buffer *buffer);
> int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd);
> -int iio_dma_buffer_set_length(struct iio_buffer *buffer, int length);
> +int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length);
> int iio_dma_buffer_request_update(struct iio_buffer *buffer);
>
> int iio_dma_buffer_init(struct iio_dma_buffer_queue *queue,
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH 1/1] iio: buffer: fix the function signature to match implementation
2018-06-10 13:35 ` Jonathan Cameron
@ 2018-06-24 13:24 ` Jonathan Cameron
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Cameron @ 2018-06-24 13:24 UTC (permalink / raw)
To: Phil Reid; +Cc: knaack.h, lars, pmeerw, linux-iio
On Sun, 10 Jun 2018 14:35:16 +0100
Jonathan Cameron <jic23@kernel.org> wrote:
> On Tue, 5 Jun 2018 14:15:10 +0800
> Phil Reid <preid@electromag.com.au> wrote:
>
> > linux/iio/buffer-dma.h was not updated to when length was changed to
> > unsigned int.
> >
> > Fixes: c043ec1ca5ba ("iio:buffer: make length types match kfifo types")
> > Signed-off-by: Phil Reid <preid@electromag.com.au>
> Thanks, but I'll need to hold this for a few weeks due to some
> ordering issues with some fixes that are queued up in my fixes branch
> for after the merge window closes.
>
> Give me a poke if I seem to have forgotten it in perhaps 2 weeks time.
I got lazy and forced a rebase on my fixes branch to speed this up.
Applied to the fixes-togreg branch of iio.git.
Thanks,
Jonathan
>
> Thanks,
>
> Jonathan
>
> > ---
> > include/linux/iio/buffer-dma.h | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/include/linux/iio/buffer-dma.h b/include/linux/iio/buffer-dma.h
> > index 9182d4e..fbe053d 100644
> > --- a/include/linux/iio/buffer-dma.h
> > +++ b/include/linux/iio/buffer-dma.h
> > @@ -141,7 +141,7 @@ int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n,
> > char __user *user_buffer);
> > size_t iio_dma_buffer_data_available(struct iio_buffer *buffer);
> > int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd);
> > -int iio_dma_buffer_set_length(struct iio_buffer *buffer, int length);
> > +int iio_dma_buffer_set_length(struct iio_buffer *buffer, unsigned int length);
> > int iio_dma_buffer_request_update(struct iio_buffer *buffer);
> >
> > int iio_dma_buffer_init(struct iio_dma_buffer_queue *queue,
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-06-24 13:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-05 6:15 [PATCH 1/1] iio: buffer: fix the function signature to match implementation Phil Reid
2018-06-10 13:35 ` Jonathan Cameron
2018-06-24 13:24 ` Jonathan Cameron
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.