From: kernel test robot <lkp@intel.com>
To: Wojciech Bartczak <wbartczak@marvell.com>, linux-kernel@vger.kernel.org
Cc: kbuild-all@lists.01.org, wbartczak@gmail.com,
Jassi Brar <jassisinghbrar@gmail.com>,
Piyush Malgujar <pmalgujar@marvell.com>,
Sunil Goutham <sgoutham@marvell.com>
Subject: Re: [PATCH 2/2] mailbox: mvl_mhu: Add support for Marvell Message Handling Unit
Date: Sun, 17 Jul 2022 14:53:56 +0800 [thread overview]
Message-ID: <202207171422.pEzwmwkV-lkp@intel.com> (raw)
In-Reply-To: <20220714121215.22931-3-wbartczak@marvell.com>
Hi Wojciech,
I love your patch! Perhaps something to improve:
[auto build test WARNING on robh/for-next]
[also build test WARNING on fujitsu-integration/mailbox-for-next linus/master v5.19-rc6 next-20220715]
[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/Wojciech-Bartczak/Add-support-for-Marvell-MHU-on-CN9x-and-CN10x-SoC/20220714-201522
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: arm64-allyesconfig (https://download.01.org/0day-ci/archive/20220717/202207171422.pEzwmwkV-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/f04835250e257b46acead49e6233aa6857e159df
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Wojciech-Bartczak/Add-support-for-Marvell-MHU-on-CN9x-and-CN10x-SoC/20220714-201522
git checkout f04835250e257b46acead49e6233aa6857e159df
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm64 SHELL=/bin/bash drivers/mailbox/ drivers/of/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/mailbox/mvl_mhu.c: In function 'mhu_pci_setup_irq':
>> drivers/mailbox/mvl_mhu.c:331:29: warning: variable 'np' set but not used [-Wunused-but-set-variable]
331 | struct device_node *np;
| ^~
vim +/np +331 drivers/mailbox/mvl_mhu.c
325
326 /* PCI interface in case of LPI based configuration */
327 static int mhu_pci_setup_irq(struct pci_dev *pdev)
328 {
329 struct device *dev;
330 struct mhu *mhu;
> 331 struct device_node *np;
332 int irq, ret, nvec;
333
334 mhu = pci_get_drvdata(pdev);
335 dev = &pdev->dev;
336 np = dev->of_node;
337
338 nvec = pci_alloc_irq_vectors(pdev, 0, 3, PCI_IRQ_MSIX);
339 if (nvec < 0)
340 return nvec;
341
342 irq = pci_irq_vector(pdev, SCP_TO_AP_INTERRUPT);
343 if (irq < 0) {
344 ret = irq;
345 goto irq_err;
346 }
347
348 ret = devm_request_threaded_irq(dev, irq, mhu_rx_interrupt,
349 mhu_rx_interrupt_thread, 0,
350 "mvl-mhu", mhu);
351 if (ret)
352 goto irq_err;
353
354 return 0;
355
356 irq_err:
357 pci_free_irq_vectors(pdev);
358
359 return ret;
360 }
361
--
0-DAY CI Kernel Test Service
https://01.org/lkp
next prev parent reply other threads:[~2022-07-17 6:54 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-14 12:12 [PATCH 0/2] Add support for Marvell MHU on CN9x and CN10x SoC Wojciech Bartczak
2022-07-14 12:12 ` [PATCH 1/2] dt-bindings: mailbox : marvell,mbox: Add bindings Wojciech Bartczak
2022-07-14 12:33 ` Krzysztof Kozlowski
2022-07-14 15:58 ` Rob Herring
2022-07-17 14:33 ` Jassi Brar
2022-07-14 12:12 ` [PATCH 2/2] mailbox: mvl_mhu: Add support for Marvell Message Handling Unit Wojciech Bartczak
2022-07-17 6:53 ` kernel test robot [this message]
2022-07-17 15:17 ` Jassi Brar
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=202207171422.pEzwmwkV-lkp@intel.com \
--to=lkp@intel.com \
--cc=jassisinghbrar@gmail.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmalgujar@marvell.com \
--cc=sgoutham@marvell.com \
--cc=wbartczak@gmail.com \
--cc=wbartczak@marvell.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
all inboxes | Powered by JetHome®