From: kernel test robot <lkp@intel.com>
To: Anup Patel <anup.patel@oss.qualcomm.com>
Cc: oe-kbuild-all@lists.linux.dev,
Himanshu Chauhan <himanshu.chauhan@oss.qualcomm.com>
Subject: [avpatel:riscv_trace_support_v5 86/108] arch/riscv/include/asm/sbi.h:799:5: warning: no previous prototype for 'sbi_mpxy_read_attrs'
Date: Wed, 19 Aug 2026 11:23:10 +0800 [thread overview]
Message-ID: <202608191132.4OQ2akyI-lkp@intel.com> (raw)
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/202608191132.4OQ2akyI-lkp@intel.com/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/202608191132.4OQ2akyI-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/202608191132.4OQ2akyI-lkp@intel.com/
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
reply other threads:[~2026-08-19 3:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202608191132.4OQ2akyI-lkp@intel.com \
--to=lkp@intel.com \
--cc=anup.patel@oss.qualcomm.com \
--cc=himanshu.chauhan@oss.qualcomm.com \
--cc=oe-kbuild-all@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.