[PATCH 6/8] regulator: fixed: Fix incorrectly formatted kerneldoc "Return" section

Andy Shevchenko andriy.shevchenko at linux.intel.com
Tue Aug 27 07:43:02 PDT 2024


On Tue, Aug 27, 2024 at 05:55:46PM +0800, Chen-Yu Tsai wrote:
> kernel-doc complains about missing "Return" section for kerneldoc of
> of_get_fixed_voltage_config(). The kerneldoc has a description
> about the return values, just not in the format kernel-doc wants.
> 
> Convert it to use the proper "Return:" section header. The existing
> description have been reworded and moved around to fit the grammar and
> formatting.

...

> + * Return: pointer to populated &struct fixed_voltage_config or %NULL if

Seems to me this should be "pointer to the"

> + *	   memory alloc fails.

-- 
With Best Regards,
Andy Shevchenko





More information about the linux-arm-kernel mailing list