Re: [PATCH] iio: buffer: buffer_impl.h: fix kernel-doc warnings

From: Randy Dunlap

Date: Wed Jan 28 2026 - 13:27:43 EST


Hi,

On 1/28/26 1:44 AM, Andy Shevchenko wrote:
> On Tue, Jan 27, 2026 at 10:25:49PM -0800, Randy Dunlap wrote:
>> Resolve all kernel-doc warnings in buffer_impl.h:
>>
>> Warning: include/linux/iio/buffer_impl.h:172 struct member 'direction' not described in 'iio_buffer'
>> Warning: include/linux/iio/buffer_impl.h:184 No description found for return value of 'iio_update_buffers'
>>
>> Also correct one typo (word order switch).
>
> ...
>
>> /** @bytes_per_datum: Size of individual datum including timestamp. */
>
> Shouldn't we also delete here...

Yes, that's the oddball in this file.
I could adjust that...

>
>> - /* @direction: Direction of the data stream (in/out). */
>> + /** @direction: Direction of the data stream (in/out). */
>
> ...or add here an extra space after asterisk?

Negative.

--
~Randy