From: kernel test robot <lkp@intel.com>
To: Michal Wilczynski <m.wilczynski@samsung.com>,
drew@pdp7.com, guoren@kernel.org, wefu@redhat.com,
jassisinghbrar@gmail.com, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, paul.walmsley@sifive.com,
palmer@dabbelt.com, aou@eecs.berkeley.edu,
m.szyprowski@samsung.com
Cc: oe-kbuild-all@lists.linux.dev, linux-riscv@lists.infradead.org,
linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
Michal Wilczynski <m.wilczynski@samsung.com>
Subject: Re: [PATCH v3 1/3] mailbox: Introduce support for T-head TH1520 Mailbox driver
Date: Sat, 12 Oct 2024 16:19:41 +0800 [thread overview]
Message-ID: <202410121547.KF1WUbP1-lkp@intel.com> (raw)
In-Reply-To: <20241008174852.222374-2-m.wilczynski@samsung.com>
Hi Michal,
kernel test robot noticed the following build warnings:
[auto build test WARNING on robh/for-next]
[also build test WARNING on linus/master v6.12-rc2]
[cannot apply to next-20241011]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/Michal-Wilczynski/mailbox-Introduce-support-for-T-head-TH1520-Mailbox-driver/20241009-015033
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
patch link: https://lore.kernel.org/r/20241008174852.222374-2-m.wilczynski%40samsung.com
patch subject: [PATCH v3 1/3] mailbox: Introduce support for T-head TH1520 Mailbox driver
config: i386-allmodconfig (https://download.01.org/0day-ci/archive/20241012/202410121547.KF1WUbP1-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/20241012/202410121547.KF1WUbP1-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/202410121547.KF1WUbP1-lkp@intel.com/
All warnings (new ones prefixed by >>):
drivers/mailbox/mailbox-th1520.c: In function 'th1520_mbox_chan_id_to_mapbit':
>> drivers/mailbox/mailbox-th1520.c:196:34: warning: unused variable 'priv' [-Wunused-variable]
196 | struct th1520_mbox_priv *priv = to_th1520_mbox_priv(cp->chan->mbox);
| ^~~~
drivers/mailbox/mailbox-th1520.c: In function 'th1520_mbox_xlate':
drivers/mailbox/mailbox-th1520.c:381:34: warning: unused variable 'priv' [-Wunused-variable]
381 | struct th1520_mbox_priv *priv = to_th1520_mbox_priv(mbox);
| ^~~~
drivers/mailbox/mailbox-th1520.c: In function 'th1520_mbox_probe':
>> drivers/mailbox/mailbox-th1520.c:441:26: warning: unused variable 'res' [-Wunused-variable]
441 | struct resource *res;
| ^~~
>> drivers/mailbox/mailbox-th1520.c:439:29: warning: unused variable 'np' [-Wunused-variable]
439 | struct device_node *np = dev->of_node;
| ^~
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for MODVERSIONS
Depends on [n]: MODULES [=y] && !COMPILE_TEST [=y]
Selected by [y]:
- RANDSTRUCT_FULL [=y] && (CC_HAS_RANDSTRUCT [=n] || GCC_PLUGINS [=y]) && MODULES [=y]
WARNING: unmet direct dependencies detected for GET_FREE_REGION
Depends on [n]: SPARSEMEM [=n]
Selected by [m]:
- RESOURCE_KUNIT_TEST [=m] && RUNTIME_TESTING_MENU [=y] && KUNIT [=m]
vim +/priv +196 drivers/mailbox/mailbox-th1520.c
193
194 static int th1520_mbox_chan_id_to_mapbit(struct th1520_mbox_con_priv *cp)
195 {
> 196 struct th1520_mbox_priv *priv = to_th1520_mbox_priv(cp->chan->mbox);
197 int mapbit = 0;
198 int i;
199
200 for (i = 0; i < TH_1520_MBOX_CHANS; i++) {
201 if (i == cp->idx)
202 return mapbit;
203
204 if (i != TH_1520_MBOX_ICU_KERNEL_CPU0)
205 mapbit++;
206 }
207
208 if (i == TH_1520_MBOX_CHANS)
209 dev_err(cp->chan->mbox->dev, "convert to mapbit failed\n");
210
211 return 0;
212 }
213
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2024-10-12 8:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20241008174907eucas1p1100fe37efdcb49cc20c5171248492fed@eucas1p1.samsung.com>
2024-10-08 17:48 ` [PATCH v3 0/3] Introduce support for T-head TH1520 Mailbox Michal Wilczynski
[not found] ` <CGME20241008174908eucas1p235351687f0475a877c7248cc2bf9dbd4@eucas1p2.samsung.com>
2024-10-08 17:48 ` [PATCH v3 1/3] mailbox: Introduce support for T-head TH1520 Mailbox driver Michal Wilczynski
2024-10-12 8:19 ` kernel test robot [this message]
[not found] ` <CGME20241008174909eucas1p1b34518ef9a643313d41349f476f0659a@eucas1p1.samsung.com>
2024-10-08 17:48 ` [PATCH v3 2/3] dt-bindings: mailbox: Add thead,th1520-mailbox bindings Michal Wilczynski
2024-10-09 6:31 ` Krzysztof Kozlowski
[not found] ` <CGME20241008174910eucas1p2e832dd68ad6b2ef1420ce211fc849fba@eucas1p2.samsung.com>
2024-10-08 17:48 ` [PATCH v3 3/3] riscv: dts: thead: Add mailbox node Michal Wilczynski
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=202410121547.KF1WUbP1-lkp@intel.com \
--to=lkp@intel.com \
--cc=aou@eecs.berkeley.edu \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=drew@pdp7.com \
--cc=guoren@kernel.org \
--cc=jassisinghbrar@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=m.szyprowski@samsung.com \
--cc=m.wilczynski@samsung.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
--cc=robh@kernel.org \
--cc=wefu@redhat.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;
as well as URLs for NNTP newsgroup(s).