[avpatel:riscv_trace_support_v5 86/108] arch/riscv/include/asm/sbi.h:799:5: warning: no previous prototype for 'sbi_mpxy_read_attrs'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/avpatel/linux.git riscv_trace_support_v5 head: e58ea3f194d326370813c549a76ecdfa211a4768 commit: a81b95aa56abb5c8e32d24bcdd6d51cc998f1fcf [86/108] RISC-V: Move common MPXY helper routines to arch/riscv config: riscv-randconfig-r073-20260819 (https://download.01.org/0day-ci/archive/20260819/[email protected]/config) compiler: riscv32-linux-gcc (GCC) 16.1.0 smatch: v0.5.0-9187-g5189e3fb reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260819/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All warnings (new ones prefixed by >>): In file included from arch/riscv/include/asm/kvm_vcpu_sbi_fwft.h:12, from arch/riscv/include/asm/kvm_host.h:25, from arch/riscv/kernel/asm-offsets.c:13: >> arch/riscv/include/asm/sbi.h:799:5: warning: no previous prototype for 'sbi_mpxy_read_attrs' [-Wmissing-prototypes] 799 | int sbi_mpxy_read_attrs(u32 channel_id, u32 base_attrid, u32 attr_count, | ^~~~~~~~~~~~~~~~~~~ >> arch/riscv/include/asm/sbi.h:805:5: warning: no previous prototype for 'sbi_mpxy_write_attrs' [-Wmissing-prototypes] 805 | int sbi_mpxy_write_attrs(u32 channel_id, u32 base_attrid, u32 attr_count, | ^~~~~~~~~~~~~~~~~~~~ >> arch/riscv/include/asm/sbi.h:811:5: warning: no previous prototype for 'sbi_mpxy_send_message_with_resp' [-Wmissing-prototypes] 811 | int sbi_mpxy_send_message_with_resp(u32 channel_id, u32 msg_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/riscv/include/asm/sbi.h:819:5: warning: no previous prototype for 'sbi_mpxy_send_message_without_resp' [-Wmissing-prototypes] 819 | int sbi_mpxy_send_message_without_resp(u32 channel_id, u32 msg_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/sbi.h:826:39: warning: 'struct sbi_mpxy_notification_data' declared inside parameter list will not be visible outside of this definition or declaration 826 | struct sbi_mpxy_notification_data *notif_data, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/riscv/include/asm/sbi.h:825:5: warning: no previous prototype for 'sbi_mpxy_get_notifications' [-Wmissing-prototypes] 825 | int sbi_mpxy_get_notifications(u32 channel_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ -- In file included from arch/riscv/include/asm/kvm_vcpu_sbi_fwft.h:12, from arch/riscv/include/asm/kvm_host.h:25, from arch/riscv/kernel/asm-offsets.c:13: >> arch/riscv/include/asm/sbi.h:799:5: warning: no previous prototype for 'sbi_mpxy_read_attrs' [-Wmissing-prototypes] 799 | int sbi_mpxy_read_attrs(u32 channel_id, u32 base_attrid, u32 attr_count, | ^~~~~~~~~~~~~~~~~~~ >> arch/riscv/include/asm/sbi.h:805:5: warning: no previous prototype for 'sbi_mpxy_write_attrs' [-Wmissing-prototypes] 805 | int sbi_mpxy_write_attrs(u32 channel_id, u32 base_attrid, u32 attr_count, | ^~~~~~~~~~~~~~~~~~~~ >> arch/riscv/include/asm/sbi.h:811:5: warning: no previous prototype for 'sbi_mpxy_send_message_with_resp' [-Wmissing-prototypes] 811 | int sbi_mpxy_send_message_with_resp(u32 channel_id, u32 msg_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/riscv/include/asm/sbi.h:819:5: warning: no previous prototype for 'sbi_mpxy_send_message_without_resp' [-Wmissing-prototypes] 819 | int sbi_mpxy_send_message_without_resp(u32 channel_id, u32 msg_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/riscv/include/asm/sbi.h:826:39: warning: 'struct sbi_mpxy_notification_data' declared inside parameter list will not be visible outside of this definition or declaration 826 | struct sbi_mpxy_notification_data *notif_data, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ >> arch/riscv/include/asm/sbi.h:825:5: warning: no previous prototype for 'sbi_mpxy_get_notifications' [-Wmissing-prototypes] 825 | int sbi_mpxy_get_notifications(u32 channel_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vim +/sbi_mpxy_read_attrs +799 arch/riscv/include/asm/sbi.h 798 > 799 int sbi_mpxy_read_attrs(u32 channel_id, u32 base_attrid, u32 attr_count, 800 u32 *attrs_buf) 801 { 802 return -ENODEV; 803 } 804 > 805 int sbi_mpxy_write_attrs(u32 channel_id, u32 base_attrid, u32 attr_count, 806 u32 *attrs_buf) 807 { 808 return -ENODEV; 809 } 810 > 811 int sbi_mpxy_send_message_with_resp(u32 channel_id, u32 msg_id, 812 void *tx, unsigned long tx_len, 813 void *rx, unsigned long max_rx_len, 814 unsigned long *rx_len) 815 { 816 return -ENODEV; 817 } 818 > 819 int sbi_mpxy_send_message_without_resp(u32 channel_id, u32 msg_id, 820 void *tx, unsigned long tx_len) 821 { 822 return -ENODEV; 823 } 824 > 825 int sbi_mpxy_get_notifications(u32 channel_id, 826 struct sbi_mpxy_notification_data *notif_data, 827 unsigned long *events_data_len) 828 { 829 return -ENODEV; 830 } 831 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki