From: kernel test robot <lkp@intel.com>
To: Clark Wang <xiaoning.wang@nxp.com>
Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org,
Alexandre Belloni <alexandre.belloni@bootlin.com>,
Miquel Raynal <miquel.raynal@bootlin.com>
Subject: drivers/i3c/master/svc-i3c-master.c:204: warning: Function parameter or member 'saved_regs' not described in 'svc_i3c_master'
Date: Thu, 17 Aug 2023 14:48:55 +0800 [thread overview]
Message-ID: <202308171435.0xQ82lvu-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 4853c74bd7ab7fdb83f319bd9ace8a08c031e9b6
commit: 1c5ee2a77b1bacd4c333bebea93610aaf17977be i3c: master: svc: fix i3c suspend/resume issue
date: 2 months ago
config: microblaze-randconfig-r025-20230817 (https://download.01.org/0day-ci/archive/20230817/202308171435.0xQ82lvu-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 12.3.0
reproduce: (https://download.01.org/0day-ci/archive/20230817/202308171435.0xQ82lvu-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/202308171435.0xQ82lvu-lkp@intel.com/
All warnings (new ones prefixed by >>):
>> drivers/i3c/master/svc-i3c-master.c:204: warning: Function parameter or member 'saved_regs' not described in 'svc_i3c_master'
vim +204 drivers/i3c/master/svc-i3c-master.c
1c5ee2a77b1bac Clark Wang 2023-05-17 152
dd3c52846d5954 Miquel Raynal 2021-01-21 153 /**
dd3c52846d5954 Miquel Raynal 2021-01-21 154 * struct svc_i3c_master - Silvaco I3C Master structure
dd3c52846d5954 Miquel Raynal 2021-01-21 155 * @base: I3C master controller
dd3c52846d5954 Miquel Raynal 2021-01-21 156 * @dev: Corresponding device
dd3c52846d5954 Miquel Raynal 2021-01-21 157 * @regs: Memory mapping
dd3c52846d5954 Miquel Raynal 2021-01-21 158 * @free_slots: Bit array of available slots
dd3c52846d5954 Miquel Raynal 2021-01-21 159 * @addrs: Array containing the dynamic addresses of each attached device
dd3c52846d5954 Miquel Raynal 2021-01-21 160 * @descs: Array of descriptors, one per attached device
dd3c52846d5954 Miquel Raynal 2021-01-21 161 * @hj_work: Hot-join work
dd3c52846d5954 Miquel Raynal 2021-01-21 162 * @ibi_work: IBI work
dd3c52846d5954 Miquel Raynal 2021-01-21 163 * @irq: Main interrupt
dd3c52846d5954 Miquel Raynal 2021-01-21 164 * @pclk: System clock
dd3c52846d5954 Miquel Raynal 2021-01-21 165 * @fclk: Fast clock (bus)
dd3c52846d5954 Miquel Raynal 2021-01-21 166 * @sclk: Slow clock (other events)
dd3c52846d5954 Miquel Raynal 2021-01-21 167 * @xferqueue: Transfer queue structure
dd3c52846d5954 Miquel Raynal 2021-01-21 168 * @xferqueue.list: List member
dd3c52846d5954 Miquel Raynal 2021-01-21 169 * @xferqueue.cur: Current ongoing transfer
dd3c52846d5954 Miquel Raynal 2021-01-21 170 * @xferqueue.lock: Queue lock
dd3c52846d5954 Miquel Raynal 2021-01-21 171 * @ibi: IBI structure
dd3c52846d5954 Miquel Raynal 2021-01-21 172 * @ibi.num_slots: Number of slots available in @ibi.slots
dd3c52846d5954 Miquel Raynal 2021-01-21 173 * @ibi.slots: Available IBI slots
dd3c52846d5954 Miquel Raynal 2021-01-21 174 * @ibi.tbq_slot: To be queued IBI slot
dd3c52846d5954 Miquel Raynal 2021-01-21 175 * @ibi.lock: IBI lock
dd3c52846d5954 Miquel Raynal 2021-01-21 176 */
dd3c52846d5954 Miquel Raynal 2021-01-21 177 struct svc_i3c_master {
dd3c52846d5954 Miquel Raynal 2021-01-21 178 struct i3c_master_controller base;
dd3c52846d5954 Miquel Raynal 2021-01-21 179 struct device *dev;
dd3c52846d5954 Miquel Raynal 2021-01-21 180 void __iomem *regs;
1c5ee2a77b1bac Clark Wang 2023-05-17 181 struct svc_i3c_regs_save saved_regs;
dd3c52846d5954 Miquel Raynal 2021-01-21 182 u32 free_slots;
dd3c52846d5954 Miquel Raynal 2021-01-21 183 u8 addrs[SVC_I3C_MAX_DEVS];
dd3c52846d5954 Miquel Raynal 2021-01-21 184 struct i3c_dev_desc *descs[SVC_I3C_MAX_DEVS];
dd3c52846d5954 Miquel Raynal 2021-01-21 185 struct work_struct hj_work;
dd3c52846d5954 Miquel Raynal 2021-01-21 186 struct work_struct ibi_work;
dd3c52846d5954 Miquel Raynal 2021-01-21 187 int irq;
dd3c52846d5954 Miquel Raynal 2021-01-21 188 struct clk *pclk;
dd3c52846d5954 Miquel Raynal 2021-01-21 189 struct clk *fclk;
dd3c52846d5954 Miquel Raynal 2021-01-21 190 struct clk *sclk;
dd3c52846d5954 Miquel Raynal 2021-01-21 191 struct {
dd3c52846d5954 Miquel Raynal 2021-01-21 192 struct list_head list;
dd3c52846d5954 Miquel Raynal 2021-01-21 193 struct svc_i3c_xfer *cur;
dd3c52846d5954 Miquel Raynal 2021-01-21 194 /* Prevent races between transfers */
dd3c52846d5954 Miquel Raynal 2021-01-21 195 spinlock_t lock;
dd3c52846d5954 Miquel Raynal 2021-01-21 196 } xferqueue;
dd3c52846d5954 Miquel Raynal 2021-01-21 197 struct {
dd3c52846d5954 Miquel Raynal 2021-01-21 198 unsigned int num_slots;
dd3c52846d5954 Miquel Raynal 2021-01-21 199 struct i3c_dev_desc **slots;
dd3c52846d5954 Miquel Raynal 2021-01-21 200 struct i3c_ibi_slot *tbq_slot;
dd3c52846d5954 Miquel Raynal 2021-01-21 201 /* Prevent races within IBI handlers */
dd3c52846d5954 Miquel Raynal 2021-01-21 202 spinlock_t lock;
dd3c52846d5954 Miquel Raynal 2021-01-21 203 } ibi;
dd3c52846d5954 Miquel Raynal 2021-01-21 @204 };
dd3c52846d5954 Miquel Raynal 2021-01-21 205
:::::: The code at line 204 was first introduced by commit
:::::: dd3c52846d5954acd43f0e771689302f27dadc28 i3c: master: svc: Add Silvaco I3C master driver
:::::: TO: Miquel Raynal <miquel.raynal@bootlin.com>
:::::: CC: Alexandre Belloni <alexandre.belloni@bootlin.com>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2023-08-17 6:49 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=202308171435.0xQ82lvu-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexandre.belloni@bootlin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=miquel.raynal@bootlin.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=xiaoning.wang@nxp.com \
/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