arch/openrisc/kernel/time.c:137: warning: expecting prototype for Clocksource(). Prototype was for openrisc_timer_read() instead
From: kernel test robot
Date: Mon Sep 27 2021 - 09:31:12 EST
Hi Mauro,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: 52042e2db45290f6a512d525518488b7bf143531 scripts: kernel-doc: validate kernel-doc markup with the actual names
date: 8 months ago
:::::: branch date: 6 days ago
:::::: commit date: 8 months ago
config: openrisc-buildonly-randconfig-r006-20210927 (attached as .config)
compiler: or1k-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/torvalds/linux.git/commit/?id=52042e2db45290f6a512d525518488b7bf143531
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 52042e2db45290f6a512d525518488b7bf143531
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=openrisc SHELL=/bin/bash arch/openrisc/kernel/ arch/openrisc/mm/ certs/ drivers/bluetooth/ drivers/clk/imx/ drivers/clk/qcom/ drivers/clk/sunxi-ng/ drivers/clocksource/ drivers/dma/ drivers/extcon/ drivers/gpio/ drivers/hwmon/ drivers/iommu/ drivers/mailbox/ drivers/most/ drivers/nvmem/ drivers/phy/ti/ drivers/pinctrl/ drivers/regulator/ drivers/rtc/ drivers/thermal/ drivers/video/backlight/ drivers/w1/slaves/ fs/fuse/ fs/ubifs/ lib/ net/sched/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All warnings (new ones prefixed by >>):
arch/openrisc/kernel/time.c:137: warning: Function parameter or member 'cs' not described in 'openrisc_timer_read'
>> arch/openrisc/kernel/time.c:137: warning: expecting prototype for Clocksource(). Prototype was for openrisc_timer_read() instead
--
certs/system_keyring.c:40: warning: Function parameter or member 'dest_keyring' not described in 'restrict_link_by_builtin_trusted'
certs/system_keyring.c:40: warning: Function parameter or member 'type' not described in 'restrict_link_by_builtin_trusted'
certs/system_keyring.c:40: warning: Function parameter or member 'payload' not described in 'restrict_link_by_builtin_trusted'
certs/system_keyring.c:40: warning: Function parameter or member 'restriction_key' not described in 'restrict_link_by_builtin_trusted'
>> certs/system_keyring.c:40: warning: expecting prototype for restrict_link_to_builtin_trusted(). Prototype was for restrict_link_by_builtin_trusted() instead
certs/system_keyring.c:59: warning: Function parameter or member 'dest_keyring' not described in 'restrict_link_by_builtin_and_secondary_trusted'
certs/system_keyring.c:59: warning: Function parameter or member 'type' not described in 'restrict_link_by_builtin_and_secondary_trusted'
certs/system_keyring.c:59: warning: Function parameter or member 'payload' not described in 'restrict_link_by_builtin_and_secondary_trusted'
certs/system_keyring.c:59: warning: Function parameter or member 'restrict_key' not described in 'restrict_link_by_builtin_and_secondary_trusted'
certs/system_keyring.c:74: warning: wrong kernel-doc identifier on line:
* Allocate a struct key_restriction for the "builtin and secondary trust"
--
>> fs/fuse/cuse.c:272: warning: expecting prototype for cuse_parse_dev_info(). Prototype was for cuse_parse_devinfo() instead
fs/fuse/cuse.c:319: warning: Function parameter or member 'fm' not described in 'cuse_process_init_reply'
fs/fuse/cuse.c:319: warning: Function parameter or member 'args' not described in 'cuse_process_init_reply'
fs/fuse/cuse.c:319: warning: Function parameter or member 'error' not described in 'cuse_process_init_reply'
--
>> fs/ubifs/dir.c:850: warning: expecting prototype for check_dir_empty(). Prototype was for ubifs_check_dir_empty() instead
--
>> fs/ubifs/io.c:476: warning: expecting prototype for wbuf_timer_callback(). Prototype was for wbuf_timer_callback_nolock() instead
>> fs/ubifs/io.c:492: warning: expecting prototype for new_wbuf_timer(). Prototype was for new_wbuf_timer_nolock() instead
>> fs/ubifs/io.c:517: warning: expecting prototype for cancel_wbuf_timer(). Prototype was for cancel_wbuf_timer_nolock() instead
--
>> fs/ubifs/auth.c:31: warning: expecting prototype for ubifs_node_calc_hash(). Prototype was for __ubifs_node_calc_hash() instead
--
>> drivers/dma/altera-msgdma.c:749: warning: expecting prototype for msgdma_chan_remove(). Prototype was for msgdma_dev_remove() instead
>> drivers/dma/altera-msgdma.c:908: warning: expecting prototype for msgdma_dma_remove(). Prototype was for msgdma_remove() instead
--
>> net/sched/sch_htb.c:207: warning: expecting prototype for htb_classify(). Prototype was for HTB_DIRECT() instead
net/sched/sch_htb.c:276: warning: Function parameter or member 'root' not described in 'htb_add_to_id_tree'
net/sched/sch_htb.c:276: warning: Function parameter or member 'cl' not described in 'htb_add_to_id_tree'
net/sched/sch_htb.c:276: warning: Function parameter or member 'prio' not described in 'htb_add_to_id_tree'
net/sched/sch_htb.c:302: warning: Function parameter or member 'q' not described in 'htb_add_to_wait_tree'
net/sched/sch_htb.c:302: warning: Function parameter or member 'cl' not described in 'htb_add_to_wait_tree'
net/sched/sch_htb.c:302: warning: Function parameter or member 'delay' not described in 'htb_add_to_wait_tree'
net/sched/sch_htb.c:333: warning: Function parameter or member 'n' not described in 'htb_next_rb_node'
net/sched/sch_htb.c:345: warning: Function parameter or member 'q' not described in 'htb_add_class_to_row'
net/sched/sch_htb.c:345: warning: Function parameter or member 'cl' not described in 'htb_add_class_to_row'
net/sched/sch_htb.c:345: warning: Function parameter or member 'mask' not described in 'htb_add_class_to_row'
net/sched/sch_htb.c:374: warning: Function parameter or member 'q' not described in 'htb_remove_class_from_row'
net/sched/sch_htb.c:374: warning: Function parameter or member 'cl' not described in 'htb_remove_class_from_row'
net/sched/sch_htb.c:374: warning: Function parameter or member 'mask' not described in 'htb_remove_class_from_row'
net/sched/sch_htb.c:401: warning: Function parameter or member 'q' not described in 'htb_activate_prios'
net/sched/sch_htb.c:401: warning: Function parameter or member 'cl' not described in 'htb_activate_prios'
net/sched/sch_htb.c:436: warning: Function parameter or member 'q' not described in 'htb_deactivate_prios'
net/sched/sch_htb.c:436: warning: Function parameter or member 'cl' not described in 'htb_deactivate_prios'
net/sched/sch_htb.c:501: warning: Function parameter or member 'cl' not described in 'htb_class_mode'
net/sched/sch_htb.c:501: warning: Function parameter or member 'diff' not described in 'htb_class_mode'
net/sched/sch_htb.c:527: warning: Function parameter or member 'q' not described in 'htb_change_class_mode'
net/sched/sch_htb.c:527: warning: Function parameter or member 'cl' not described in 'htb_change_class_mode'
net/sched/sch_htb.c:527: warning: Function parameter or member 'diff' not described in 'htb_change_class_mode'
net/sched/sch_htb.c:556: warning: Function parameter or member 'q' not described in 'htb_activate'
net/sched/sch_htb.c:556: warning: Function parameter or member 'cl' not described in 'htb_activate'
net/sched/sch_htb.c:572: warning: Function parameter or member 'q' not described in 'htb_deactivate'
net/sched/sch_htb.c:572: warning: Function parameter or member 'cl' not described in 'htb_deactivate'
net/sched/sch_htb.c:657: warning: Function parameter or member 'q' not described in 'htb_charge_class'
net/sched/sch_htb.c:657: warning: Function parameter or member 'cl' not described in 'htb_charge_class'
net/sched/sch_htb.c:657: warning: Function parameter or member 'level' not described in 'htb_charge_class'
net/sched/sch_htb.c:657: warning: Function parameter or member 'skb' not described in 'htb_charge_class'
net/sched/sch_htb.c:702: warning: Function parameter or member 'q' not described in 'htb_do_events'
net/sched/sch_htb.c:702: warning: Function parameter or member 'level' not described in 'htb_do_events'
net/sched/sch_htb.c:702: warning: Function parameter or member 'start' not described in 'htb_do_events'
net/sched/sch_htb.c:767: warning: Function parameter or member 'hprio' not described in 'htb_lookup_leaf'
net/sched/sch_htb.c:767: warning: Function parameter or member 'prio' not described in 'htb_lookup_leaf'
--
>> drivers/clk/qcom/clk-alpha-pll.c:1404: warning: expecting prototype for clk_lucid_pll_configure(). Prototype was for clk_trion_pll_configure() instead
--
>> drivers/clk/sunxi-ng/ccu_mmc_timing.c:54: warning: expecting prototype for sunxi_ccu_set_mmc_timing_mode(). Prototype was for sunxi_ccu_get_mmc_timing_mode() instead
--
>> drivers/hwmon/sht21.c:128: warning: expecting prototype for sht21_show_temperature(). Prototype was for sht21_temperature_show() instead
>> drivers/hwmon/sht21.c:149: warning: expecting prototype for sht21_show_humidity(). Prototype was for sht21_humidity_show() instead
..
vim +137 arch/openrisc/kernel/time.c
b731fbbd246e3a Jonas Bonn 2011-06-04 129
b731fbbd246e3a Jonas Bonn 2011-06-04 130 /**
b731fbbd246e3a Jonas Bonn 2011-06-04 131 * Clocksource: Based on OpenRISC timer/counter
b731fbbd246e3a Jonas Bonn 2011-06-04 132 *
b731fbbd246e3a Jonas Bonn 2011-06-04 133 * This sets up the OpenRISC Tick Timer as a clock source. The tick timer
b731fbbd246e3a Jonas Bonn 2011-06-04 134 * is 32 bits wide and runs at the CPU clock frequency.
b731fbbd246e3a Jonas Bonn 2011-06-04 135 */
a5a1d1c2914b53 Thomas Gleixner 2016-12-21 136 static u64 openrisc_timer_read(struct clocksource *cs)
b731fbbd246e3a Jonas Bonn 2011-06-04 @137 {
a5a1d1c2914b53 Thomas Gleixner 2016-12-21 138 return (u64) mfspr(SPR_TTCR);
b731fbbd246e3a Jonas Bonn 2011-06-04 139 }
b731fbbd246e3a Jonas Bonn 2011-06-04 140
:::::: The code at line 137 was first introduced by commit
:::::: b731fbbd246e3aba59701bd6112a14ba02bf1c1c OpenRISC: Timekeeping
:::::: TO: Jonas Bonn <jonas@xxxxxxxxxxxx>
:::::: CC: Jonas Bonn <jonas@xxxxxxxxxxxx>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip