diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-08-09 02:44:06 +0300 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2023-08-14 14:17:00 +0300 |
commit | b0a6da43a510fdfff23fcda12f90fba37cab1c05 (patch) | |
tree | 8b77c661cfd81c8d6518ea1ec71adcb87c96425d /arch/arm/vfp | |
parent | 8922ba71c969d2a0c01a94372a71477d879470de (diff) | |
download | linux-b0a6da43a510fdfff23fcda12f90fba37cab1c05.tar.xz |
ARM: 9318/1: locomo: move kernel-doc to prevent warnings
Move the kernel-doc comments for locomo_probe() to immediately before
that function instead of before __locomo_probe() to prevent
kernel-doc warnings. Adjust the documented function parameters and
make the return values compatible with ReST by adding bullets to them.
Add more possible return values to the list.
Prevents these warnings:
arch/arm/common/locomo.c:368: warning: Function parameter or member 'me' not described in '__locomo_probe'
arch/arm/common/locomo.c:368: warning: Function parameter or member 'mem' not described in '__locomo_probe'
arch/arm/common/locomo.c:368: warning: Function parameter or member 'irq' not described in '__locomo_probe'
arch/arm/common/locomo.c:368: warning: expecting prototype for locomo_probe(). Prototype was for __locomo_probe() instead
Link: lore.kernel.org/r/202308050851.zAvHe6y7-lkp@intel.com
Fixes: 5eb6e280432d ("ARM: 9289/1: Allow pre-ARMv5 builds with ld.lld 16.0.0 and newer")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Reported-by: kernel test robot <lkp@intel.com>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Nathan Chancellor <nathan@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: patches@armlinux.org.uk
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/vfp')
0 files changed, 0 insertions, 0 deletions