All of lore.kernel.org
 help / color / mirror / Atom feed
* [ti:ti-linux-6.1.y-wip 5/22] drivers/remoteproc/ti_k3_dsp_remoteproc.c:40: warning: Function parameter or member 'core' not described in 'is_core_in_wfi'
@ 2024-02-18  1:43 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2024-02-18  1:43 UTC (permalink / raw)
  To: Hari Nagalla; +Cc: oe-kbuild-all, vigneshr, nm, Udit Kumar

tree:   git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git ti-linux-6.1.y-wip
head:   77aa27cbdca359bf0735b36ada464ec65b520943
commit: a2313a78eb2ed03046aae3ac604a49c0556ac839 [5/22] remoteproc: k3-dsp: Introduce PM suspend/resume handlers
config: arm64-defconfig (https://download.01.org/0day-ci/archive/20240218/202402180929.RTjyopeO-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240218/202402180929.RTjyopeO-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/202402180929.RTjyopeO-lkp@intel.com/

All warnings (new ones prefixed by >>):

>> drivers/remoteproc/ti_k3_dsp_remoteproc.c:40: warning: Function parameter or member 'core' not described in 'is_core_in_wfi'
>> drivers/remoteproc/ti_k3_dsp_remoteproc.c:40: warning: Excess function parameter 'kproc' description in 'is_core_in_wfi'


vim +40 drivers/remoteproc/ti_k3_dsp_remoteproc.c

    31	
    32	/**
    33	 * is_core_in_wfi - local utility function to check core status
    34	 * @kproc: remote core pointer used for checking core status
    35	 *
    36	 * This utility function is invoked by the shutdown sequence to ensure
    37	 * the remote core is in wfi, before asserting a reset.
    38	 */
    39	static int is_core_in_wfi(struct k3_rproc *core)
  > 40	{
    41		int ret;
    42		u64 boot_vec;
    43		u32 cfg, ctrl, stat;
    44	
    45		ret = ti_sci_proc_get_status(core->tsp, &boot_vec, &cfg, &ctrl, &stat);
    46	
    47		if (ret < 0)
    48			return 0;
    49	
    50		return (stat & PROC_BOOT_STATUS_FLAG_CPU_WFI);
    51	}
    52	

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-18  1:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-18  1:43 [ti:ti-linux-6.1.y-wip 5/22] drivers/remoteproc/ti_k3_dsp_remoteproc.c:40: warning: Function parameter or member 'core' not described in 'is_core_in_wfi' kernel test robot

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.