All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dmitry Safonov <dima@arista.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Memory Management List <linux-mm@kvack.org>
Subject: arch/microblaze/kernel/unwind.c:168: warning: Function parameter or member 'loglvl' not described in 'unwind_trap'
Date: Tue, 12 Sep 2023 23:38:48 +0800	[thread overview]
Message-ID: <202309122318.VLgfp802-lkp@intel.com> (raw)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0bb80ecc33a8fb5a682236443c1e740d5c917d1d
commit: 77530a5277bcab0433d0f68af11e04a5c4d79039 microblaze: add loglvl to microblaze_unwind_inner()
date:   3 years, 3 months ago
config: microblaze-alldefconfig (https://download.01.org/0day-ci/archive/20230912/202309122318.VLgfp802-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230912/202309122318.VLgfp802-lkp@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309122318.VLgfp802-lkp@intel.com/

All warnings (new ones prefixed by >>):

   arch/microblaze/kernel/unwind.c:168: warning: Function parameter or member 'task' not described in 'unwind_trap'
   arch/microblaze/kernel/unwind.c:168: warning: Function parameter or member 'pc' not described in 'unwind_trap'
   arch/microblaze/kernel/unwind.c:168: warning: Function parameter or member 'fp' not described in 'unwind_trap'
   arch/microblaze/kernel/unwind.c:168: warning: Function parameter or member 'trace' not described in 'unwind_trap'
>> arch/microblaze/kernel/unwind.c:168: warning: Function parameter or member 'loglvl' not described in 'unwind_trap'


vim +168 arch/microblaze/kernel/unwind.c

ce3266c0473894 Steven J. Magnani 2010-04-27  153  
ce3266c0473894 Steven J. Magnani 2010-04-27  154  static void microblaze_unwind_inner(struct task_struct *task,
ce3266c0473894 Steven J. Magnani 2010-04-27  155  				    unsigned long pc, unsigned long fp,
ce3266c0473894 Steven J. Magnani 2010-04-27  156  				    unsigned long leaf_return,
77530a5277bcab Dmitry Safonov    2020-06-08  157  				    struct stack_trace *trace,
77530a5277bcab Dmitry Safonov    2020-06-08  158  				    const char *loglvl);
ce3266c0473894 Steven J. Magnani 2010-04-27  159  
ce3266c0473894 Steven J. Magnani 2010-04-27  160  /**
ce3266c0473894 Steven J. Magnani 2010-04-27  161   * unwind_trap - Unwind through a system trap, that stored previous state
ce3266c0473894 Steven J. Magnani 2010-04-27  162   *		 on the stack.
ce3266c0473894 Steven J. Magnani 2010-04-27  163   */
ce3266c0473894 Steven J. Magnani 2010-04-27  164  #ifdef CONFIG_MMU
ce3266c0473894 Steven J. Magnani 2010-04-27  165  static inline void unwind_trap(struct task_struct *task, unsigned long pc,
77530a5277bcab Dmitry Safonov    2020-06-08  166  				unsigned long fp, struct stack_trace *trace,
77530a5277bcab Dmitry Safonov    2020-06-08  167  				const char *loglvl)
ce3266c0473894 Steven J. Magnani 2010-04-27 @168  {
ce3266c0473894 Steven J. Magnani 2010-04-27  169  	/* To be implemented */
ce3266c0473894 Steven J. Magnani 2010-04-27  170  }
ce3266c0473894 Steven J. Magnani 2010-04-27  171  #else
ce3266c0473894 Steven J. Magnani 2010-04-27  172  static inline void unwind_trap(struct task_struct *task, unsigned long pc,
77530a5277bcab Dmitry Safonov    2020-06-08  173  				unsigned long fp, struct stack_trace *trace,
77530a5277bcab Dmitry Safonov    2020-06-08  174  				const char *loglvl)
ce3266c0473894 Steven J. Magnani 2010-04-27  175  {
ce3266c0473894 Steven J. Magnani 2010-04-27  176  	const struct pt_regs *regs = (const struct pt_regs *) fp;
77530a5277bcab Dmitry Safonov    2020-06-08  177  	microblaze_unwind_inner(task, regs->pc, regs->r1, regs->r15, trace, loglvl);
ce3266c0473894 Steven J. Magnani 2010-04-27  178  }
ce3266c0473894 Steven J. Magnani 2010-04-27  179  #endif
ce3266c0473894 Steven J. Magnani 2010-04-27  180  

:::::: The code at line 168 was first introduced by commit
:::::: ce3266c047389443d5f433d605c769e878cbe46e microblaze: Add stack unwinder

:::::: TO: Steven J. Magnani <steve@digidescorp.com>
:::::: CC: Michal Simek <monstr@monstr.eu>

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

                 reply	other threads:[~2023-09-12 15:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202309122318.VLgfp802-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=dima@arista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.