From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v3 1/6] clk: sifive: Add pcie_aux clock in prci driver for PCIe driver
Date: Wed, 31 Mar 2021 20:00:03 +0800 [thread overview]
Message-ID: <202103311934.FlBGOqo7-lkp@intel.com> (raw)
In-Reply-To: <20210331092605.105909-2-greentime.hu@sifive.com>
[-- Attachment #1: Type: text/plain, Size: 2614 bytes --]
Hi Greentime,
I love your patch! Perhaps something to improve:
[auto build test WARNING on clk/clk-next]
[also build test WARNING on pci/next robh/for-next v5.12-rc5 next-20210331]
[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]
url: https://github.com/0day-ci/linux/commits/Greentime-Hu/Add-SiFive-FU740-PCIe-host-controller-driver-support/20210331-172909
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: mips-allyesconfig (attached as .config)
compiler: mips-linux-gcc (GCC) 9.3.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/0day-ci/linux/commit/c1d210e8c662057606f530588969fb8e552a3b7f
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Greentime-Hu/Add-SiFive-FU740-PCIe-host-controller-driver-support/20210331-172909
git checkout c1d210e8c662057606f530588969fb8e552a3b7f
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
drivers/clk/sifive/sifive-prci.c: In function 'sifive_prci_pcie_aux_clock_enable':
>> drivers/clk/sifive/sifive-prci.c:475:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
475 | u32 r;
| ^
drivers/clk/sifive/sifive-prci.c: In function 'sifive_prci_pcie_aux_clock_disable':
drivers/clk/sifive/sifive-prci.c:490:6: warning: variable 'r' set but not used [-Wunused-but-set-variable]
490 | u32 r;
| ^
vim +/r +475 drivers/clk/sifive/sifive-prci.c
470
471 int sifive_prci_pcie_aux_clock_enable(struct clk_hw *hw)
472 {
473 struct __prci_clock *pc = clk_hw_to_prci_clock(hw);
474 struct __prci_data *pd = pc->pd;
> 475 u32 r;
476
477 if (sifive_prci_pcie_aux_clock_is_enabled(hw))
478 return 0;
479
480 __prci_writel(1, PRCI_PCIE_AUX_OFFSET, pd);
481 r = __prci_readl(pd, PRCI_PCIE_AUX_OFFSET); /* barrier */
482
483 return 0;
484 }
485
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 70214 bytes --]
next prev parent reply other threads:[~2021-03-31 12:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-31 9:25 [PATCH v3 0/6] Add SiFive FU740 PCIe host controller driver support Greentime Hu
2021-03-31 9:25 ` Greentime Hu
2021-03-31 9:26 ` [PATCH v3 1/6] clk: sifive: Add pcie_aux clock in prci driver for PCIe driver Greentime Hu
2021-03-31 9:26 ` Greentime Hu
2021-03-31 12:00 ` kernel test robot [this message]
2021-04-01 1:38 ` Stephen Boyd
2021-04-01 1:38 ` Stephen Boyd
2021-03-31 9:26 ` [PATCH v3 2/6] clk: sifive: Use reset-simple " Greentime Hu
2021-03-31 9:26 ` Greentime Hu
2021-04-01 1:38 ` Stephen Boyd
2021-04-01 1:38 ` Stephen Boyd
2021-03-31 9:26 ` [PATCH v3 3/6] MAINTAINERS: Add maintainers for SiFive FU740 " Greentime Hu
2021-03-31 9:26 ` Greentime Hu
2021-03-31 9:26 ` [PATCH v3 4/6] dt-bindings: PCI: Add SiFive FU740 PCIe host controller Greentime Hu
2021-03-31 9:26 ` Greentime Hu
2021-03-31 9:26 ` [PATCH v3 5/6] PCI: fu740: Add SiFive FU740 PCIe host controller driver Greentime Hu
2021-03-31 9:26 ` Greentime Hu
2021-03-31 9:26 ` [PATCH v3 6/6] riscv: dts: Add PCIe support for the SiFive FU740-C000 SoC Greentime Hu
2021-03-31 9:26 ` Greentime Hu
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=202103311934.FlBGOqo7-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.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 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.