[PATCH] of: base: Document prefix argument for of_get_next_child_with_prefix()

Wolfram Sang wsa+renesas at sang-engineering.com
Thu Nov 28 17:50:22 PST 2024


On Thu, Nov 28, 2024 at 12:26:30PM +0800, Chen-Yu Tsai wrote:
> When of_get_next_child_with_prefix() was added, the prefix argument was
> left undocumented. This caused a new warning to be generated during the
> kerneldoc build process:
> 
>  drivers/of/base.c:661: warning: Function parameter or struct member 'prefix'
>  	not described in 'of_get_next_child_with_prefix'
> 
> Properly document the argument to fix this.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202411280010.KGSDBOUE-lkp@intel.com/
> Fixes: 1fcc67e3a354 ("of: base: Add for_each_child_of_node_with_prefix()")
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>

Applied to for-mergewindow, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20241129/facfd5ad/attachment.sig>


More information about the linux-arm-kernel mailing list