lkml.org 
[lkml]   [2021]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[sudeep-holla:ffa_notifications_proto 4/15] drivers/firmware/arm_ffa/driver.c:725:6: warning: no previous prototype for '__enable_schedule_receiver_interrupt'
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-10-26 03:17    [W:0.025 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site