From: kernel test robot <lkp@intel.com>
To: Krishna chaitanya chundru <quic_krichai@quicinc.com>
Cc: oe-kbuild-all@lists.linux.dev,
Linux Memory Management List <linux-mm@kvack.org>,
Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>,
"Steven Rostedt (Google)" <rostedt@goodmis.org>
Subject: [linux-next:master 4351/4898] include/trace/../../drivers/bus/mhi/host/trace.h:87:1: sparse: sparse: cast to restricted __le64
Date: Wed, 7 Feb 2024 18:14:21 +0800 [thread overview]
Message-ID: <202402071859.8qMhgJEQ-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 2ae0a045e6814c8c1d676d6153c605a65746aa29
commit: ceeb64f41fe6a1eb9fc56d583983a81f8f3dd058 [4351/4898] bus: mhi: host: Add tracing support
config: x86_64-randconfig-123-20240207 (https://download.01.org/0day-ci/archive/20240207/202402071859.8qMhgJEQ-lkp@intel.com/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240207/202402071859.8qMhgJEQ-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/202402071859.8qMhgJEQ-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
drivers/bus/mhi/host/init.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, drivers/bus/mhi/host/trace.h):
>> include/trace/../../drivers/bus/mhi/host/trace.h:87:1: sparse: sparse: cast to restricted __le64
>> include/trace/../../drivers/bus/mhi/host/trace.h:87:1: sparse: sparse: restricted __le64 degrades to integer
>> include/trace/../../drivers/bus/mhi/host/trace.h:87:1: sparse: sparse: restricted __le64 degrades to integer
>> include/trace/../../drivers/bus/mhi/host/trace.h:87:1: sparse: sparse: cast to restricted __le32
>> include/trace/../../drivers/bus/mhi/host/trace.h:87:1: sparse: sparse: restricted __le32 degrades to integer
>> include/trace/../../drivers/bus/mhi/host/trace.h:87:1: sparse: sparse: restricted __le32 degrades to integer
>> include/trace/../../drivers/bus/mhi/host/trace.h:87:1: sparse: sparse: cast to restricted __le32
>> include/trace/../../drivers/bus/mhi/host/trace.h:87:1: sparse: sparse: restricted __le32 degrades to integer
>> include/trace/../../drivers/bus/mhi/host/trace.h:87:1: sparse: sparse: restricted __le32 degrades to integer
include/trace/../../drivers/bus/mhi/host/trace.h:169:1: sparse: sparse: cast to restricted __le32
include/trace/../../drivers/bus/mhi/host/trace.h:169:1: sparse: sparse: restricted __le32 degrades to integer
include/trace/../../drivers/bus/mhi/host/trace.h:169:1: sparse: sparse: restricted __le32 degrades to integer
include/trace/../../drivers/bus/mhi/host/trace.h:169:1: sparse: sparse: cast to restricted __le32
include/trace/../../drivers/bus/mhi/host/trace.h:169:1: sparse: sparse: restricted __le32 degrades to integer
include/trace/../../drivers/bus/mhi/host/trace.h:169:1: sparse: sparse: restricted __le32 degrades to integer
include/trace/../../drivers/bus/mhi/host/trace.h:169:1: sparse: sparse: cast to restricted __le64
include/trace/../../drivers/bus/mhi/host/trace.h:169:1: sparse: sparse: restricted __le64 degrades to integer
include/trace/../../drivers/bus/mhi/host/trace.h:169:1: sparse: sparse: restricted __le64 degrades to integer
drivers/bus/mhi/host/init.c: note: in included file (through include/linux/wait.h, include/linux/wait_bit.h, include/linux/fs.h, ...):
include/linux/list.h:83:21: sparse: sparse: self-comparison always evaluates to true
vim +87 include/trace/../../drivers/bus/mhi/host/trace.h
86
> 87 TRACE_EVENT(mhi_gen_tre,
88
89 TP_PROTO(struct mhi_controller *mhi_cntrl, struct mhi_chan *mhi_chan,
90 struct mhi_ring_element *mhi_tre),
91
92 TP_ARGS(mhi_cntrl, mhi_chan, mhi_tre),
93
94 TP_STRUCT__entry(
95 __string(name, mhi_cntrl->mhi_dev->name)
96 __field(int, ch_num)
97 __field(void *, wp)
98 __field(__le64, tre_ptr)
99 __field(__le32, dword0)
100 __field(__le32, dword1)
101 ),
102
103 TP_fast_assign(
104 __assign_str(name, mhi_cntrl->mhi_dev->name);
105 __entry->ch_num = mhi_chan->chan;
106 __entry->wp = mhi_tre;
107 __entry->tre_ptr = mhi_tre->ptr;
108 __entry->dword0 = mhi_tre->dword[0];
109 __entry->dword1 = mhi_tre->dword[1];
110 ),
111
112 TP_printk("%s: Chan: %d TRE: 0x%p TRE buf: 0x%llx DWORD0: 0x%08x DWORD1: 0x%08x\n",
113 __get_str(name), __entry->ch_num, __entry->wp, __entry->tre_ptr,
114 __entry->dword0, __entry->dword1)
115 );
116
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2024-02-07 10:14 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=202402071859.8qMhgJEQ-lkp@intel.com \
--to=lkp@intel.com \
--cc=linux-mm@kvack.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=quic_krichai@quicinc.com \
--cc=rostedt@goodmis.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox