public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [sudeep-holla:ffa_notifications_proto 4/15] drivers/firmware/arm_ffa/driver.c:725:6: warning: no previous prototype for '__enable_schedule_receiver_interrupt'
@ 2021-10-26  1:16 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-26  1:16 UTC (permalink / raw)
  To: Marc Bonnici; +Cc: kbuild-all, linux-kernel, Sudeep Holla

[-- Attachment #1: Type: text/plain, Size: 2883 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git ffa_notifications_proto
head:   c58dfd7efd456c261212967aebc7938a7d5998be
commit: f2d94829406ec4bbbab8ed6ac13d0ff25280ff37 [4/15] ffa_driver: Initial support for Scheduler Receiver Interrupt
config: arm64-randconfig-r023-20211021 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git/commit/?id=f2d94829406ec4bbbab8ed6ac13d0ff25280ff37
        git remote add sudeep-holla https://git.kernel.org/pub/scm/linux/kernel/git/sudeep.holla/linux.git
        git fetch --no-tags sudeep-holla ffa_notifications_proto
        git checkout f2d94829406ec4bbbab8ed6ac13d0ff25280ff37
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/firmware/arm_ffa/driver.c: In function 'ffa_compatible_version_find':
   drivers/firmware/arm_ffa/driver.c:193:13: warning: unused variable 'compat_version' [-Wunused-variable]
     193 |         u32 compat_version;
         |             ^~~~~~~~~~~~~~
   drivers/firmware/arm_ffa/driver.c: At top level:
>> drivers/firmware/arm_ffa/driver.c:725:6: warning: no previous prototype for '__enable_schedule_receiver_interrupt' [-Wmissing-prototypes]
     725 | void __enable_schedule_receiver_interrupt(void* _) {
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
>> drivers/firmware/arm_ffa/driver.c:716: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Handle an SGI
   drivers/firmware/arm_ffa/driver.c:732: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
    * Registers for the notification avaliable interrupt.


vim +/__enable_schedule_receiver_interrupt +725 drivers/firmware/arm_ffa/driver.c

   713	
   714	
   715	/**
 > 716	 * Handle an SGI
   717	 */
   718	static irqreturn_t irq_handler(int irq, void *dev)
   719	{
   720		return IRQ_HANDLED;
   721	}
   722	
   723	
   724	/* Helper function to register on all CPUS. */
 > 725	void __enable_schedule_receiver_interrupt(void* _) {
   726		enable_percpu_irq(ffa_sched_recv_int_id, IRQ_TYPE_EDGE_RISING);
   727		pr_info("Enabled Scheduler Receiver IRQ %d on cpu: %d\n",
   728				ffa_sched_recv_int_id, smp_processor_id());
   729	}
   730	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 47178 bytes --]

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

only message in thread, other threads:[~2021-10-26  1:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-26  1:16 [sudeep-holla:ffa_notifications_proto 4/15] drivers/firmware/arm_ffa/driver.c:725:6: warning: no previous prototype for '__enable_schedule_receiver_interrupt' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox