arch/powerpc/kernel/rtas-proc.c:771: warning: Function parameter or member 'm' not described in 'ppc_rtas_rmo_buf_show'

From: kernel test robot
Date: Thu Sep 21 2023 - 16:26:39 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 42dc814987c1feb6410904e58cfd4c36c4146150
commit: c13ff6f3251318f5e1ff5b1a6d05f76996db672a powerpc/rtas: improve ppc_rtas_rmo_buf_show documentation
date: 2 years, 5 months ago
config: powerpc-mgcoge_defconfig (https://download.01.org/0day-ci/archive/20230921/202309211645.1Lvwmbv4-lkp@xxxxxxxxx/config)
compiler: powerpc-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230921/202309211645.1Lvwmbv4-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309211645.1Lvwmbv4-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

>> arch/powerpc/kernel/rtas-proc.c:771: warning: Function parameter or member 'm' not described in 'ppc_rtas_rmo_buf_show'
>> arch/powerpc/kernel/rtas-proc.c:771: warning: Function parameter or member 'v' not described in 'ppc_rtas_rmo_buf_show'


vim +771 arch/powerpc/kernel/rtas-proc.c

^1da177e4c3f41 arch/ppc64/kernel/rtas-proc.c Linus Torvalds 2005-04-16 759
c13ff6f3251318 arch/powerpc/kernel/rtas-proc.c Nathan Lynch 2021-04-08 760 /**
c13ff6f3251318 arch/powerpc/kernel/rtas-proc.c Nathan Lynch 2021-04-08 761 * ppc_rtas_rmo_buf_show() - Describe RTAS-addressable region for user space.
c13ff6f3251318 arch/powerpc/kernel/rtas-proc.c Nathan Lynch 2021-04-08 762 *
c13ff6f3251318 arch/powerpc/kernel/rtas-proc.c Nathan Lynch 2021-04-08 763 * Base + size description of a range of RTAS-addressable memory set
c13ff6f3251318 arch/powerpc/kernel/rtas-proc.c Nathan Lynch 2021-04-08 764 * aside for user space to use as work area(s) for certain RTAS
c13ff6f3251318 arch/powerpc/kernel/rtas-proc.c Nathan Lynch 2021-04-08 765 * functions. User space accesses this region via /dev/mem. Apart from
c13ff6f3251318 arch/powerpc/kernel/rtas-proc.c Nathan Lynch 2021-04-08 766 * security policies, the kernel does not arbitrate or serialize
c13ff6f3251318 arch/powerpc/kernel/rtas-proc.c Nathan Lynch 2021-04-08 767 * access to this region, and user space must ensure that concurrent
c13ff6f3251318 arch/powerpc/kernel/rtas-proc.c Nathan Lynch 2021-04-08 768 * users do not interfere with each other.
c13ff6f3251318 arch/powerpc/kernel/rtas-proc.c Nathan Lynch 2021-04-08 769 */
^1da177e4c3f41 arch/ppc64/kernel/rtas-proc.c Linus Torvalds 2005-04-16 770 static int ppc_rtas_rmo_buf_show(struct seq_file *m, void *v)
^1da177e4c3f41 arch/ppc64/kernel/rtas-proc.c Linus Torvalds 2005-04-16 @771 {

:::::: The code at line 771 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki