Skip to content

Commit 59a98f4

Browse files
rddunlaparndb
authored andcommitted
ARM: uniphier: fix cache kernel-doc warnings
Fix kernel-doc warning(s) as reported by lkp: arch/arm/mm/cache-uniphier.c:72: warning: cannot understand function prototype: 'struct uniphier_cache_data ' cache-uniphier.c:82: warning: Function parameter or member 'way_ctrl_base' not described in 'uniphier_cache_data' Fixes: e7ecbc0 ("ARM: uniphier: add outer cache support") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Reported-by: kernel test robot <lkp@intel.com> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: Olof Johansson <olof@lixom.net> Cc: Arnd Bergmann <arnd@arndb.de> Cc: soc@kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> Cc: Masami Hiramatsu <mhiramat@kernel.org> Link: lore.kernel.org/r/202309260130.Uvwh8ceE-lkp@intel.com # fixes only one item Link: https://lore.kernel.org/r/20230926003548.22066-1-rdunlap@infradead.org Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 5f8456b commit 59a98f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/arm/mm/cache-uniphier.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,13 @@
5858
((op & UNIPHIER_SSCOQM_S_MASK) == UNIPHIER_SSCOQM_S_RANGE)
5959

6060
/**
61-
* uniphier_cache_data - UniPhier outer cache specific data
61+
* struct uniphier_cache_data - UniPhier outer cache specific data
6262
*
6363
* @ctrl_base: virtual base address of control registers
6464
* @rev_base: virtual base address of revision registers
6565
* @op_base: virtual base address of operation registers
66+
* @way_ctrl_base: virtual address of the way control registers for this
67+
* SoC revision
6668
* @way_mask: each bit specifies if the way is present
6769
* @nsets: number of associativity sets
6870
* @line_size: line size in bytes

0 commit comments

Comments
 (0)