Re: [PATCH] watchdog: Improve watchdog_dev function documentation

From: Daniel Bristot de Oliveira
Date: Wed Feb 09 2022 - 12:24:45 EST


On 2/9/22 17:51, Randy Dunlap wrote:
> Hi Daniel,
>
> On 2/9/22 01:08, Daniel Bristot de Oliveira wrote:
>> Adjust function comments to the kernel doc format. It
>> also adjusts some variable names and adds return values.
>>
>> No functional change.
> After applying the patch, I still see 3 warnings:
>
> watchdog_dev.c:1127: warning: No description found for return value of 'watchdog_dev_register'
> watchdog_dev.c:1169: warning: No description found for return value of 'watchdog_set_last_hw_keepalive'
> watchdog_dev.c:1197: warning: No description found for return value of 'watchdog_dev_init'
>
>
> Ah, I see. The format for function Return in kernel-doc is:
>
> * Return: func return info here
>

Ack, I will fix that.

Thanks, Randy!
-- Daniel