powerpc/pseries/rtas-work-area: Fix rtas_work_area_reserve_arena() kernel-doc
authorNathan Lynch <nathanl@linux.ibm.com>
Mon, 6 Nov 2023 13:42:53 +0000 (07:42 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 7 Nov 2023 02:13:44 +0000 (13:13 +1100)
>From a W=1 build:

>> arch/powerpc/platforms/pseries/rtas-work-area.c:189: warning: Function parameter or member 'limit' not
>> described in 'rtas_work_area_reserve_arena'

Add the missing description of the limit parameter.

Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202309131221.Bm1pg96n-lkp@intel.com/
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231106-rtas-trivial-v1-1-61847655c51f@linux.ibm.com
arch/powerpc/platforms/pseries/rtas-work-area.c

index b37d52f40360e014915378a9dfe0faa771280438..7fe34bee84d89430b704879b874ca26d54ae7cb2 100644 (file)
@@ -184,6 +184,7 @@ machine_arch_initcall(pseries, rtas_work_area_allocator_init);
 
 /**
  * rtas_work_area_reserve_arena() - Reserve memory suitable for RTAS work areas.
+ * @limit: Upper limit for memblock allocation.
  */
 void __init rtas_work_area_reserve_arena(const phys_addr_t limit)
 {