On 09/18/13 21:02, Lars-Peter Clausen wrote: > Make sure to properly initialize the IIO buffer data structure. > > Signed-off-by: Lars-Peter Clausen <lars@xxxxxxxxxx> Applied to the fixes togreg branch of iio.git As requested, stopping here in the series for now. > --- > drivers/iio/buffer_cb.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/iio/buffer_cb.c b/drivers/iio/buffer_cb.c > index 578f719..841fec1 100644 > --- a/drivers/iio/buffer_cb.c > +++ b/drivers/iio/buffer_cb.c > @@ -41,6 +41,8 @@ struct iio_cb_buffer *iio_channel_get_all_cb(struct device *dev, > goto error_ret; > } > > + iio_buffer_init(&cb_buff->buffer); > + > cb_buff->private = private; > cb_buff->cb = cb; > cb_buff->buffer.access = &iio_cb_access; > -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html