devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: JC Kuo <jckuo@nvidia.com>,
	gregkh@linuxfoundation.org, thierry.reding@gmail.com,
	robh@kernel.org, jonathanh@nvidia.com, kishon@ti.com
Cc: kbuild-all@lists.01.org, linux-tegra@vger.kernel.org,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	devicetree@vger.kernel.org, nkristam@nvidia.com
Subject: Re: [PATCH 06/12] soc/tegra: pmc: provide usb sleepwalk register map
Date: Fri, 28 Aug 2020 18:53:11 +0800	[thread overview]
Message-ID: <202008281849.FCXeSTmY%lkp@intel.com> (raw)
In-Reply-To: <20200828011056.1067559-7-jckuo@nvidia.com>

[-- Attachment #1: Type: text/plain, Size: 2609 bytes --]

Hi JC,

I love your patch! Perhaps something to improve:

[auto build test WARNING on tegra/for-next]
[also build test WARNING on robh/for-next usb/usb-testing char-misc/char-misc-testing staging/staging-testing driver-core/driver-core-testing v5.9-rc2 next-20200827]
[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/JC-Kuo/Tegra-XHCI-controller-ELPG-support/20200828-091337
base:   https://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux.git for-next
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-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
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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/soc/tegra/pmc.c:2537:5: warning: no previous prototype for 'tegra_pmc_regmap_readl' [-Wmissing-prototypes]
    2537 | int tegra_pmc_regmap_readl(void *context, unsigned int reg, unsigned int *val)
         |     ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/soc/tegra/pmc.c:2545:5: warning: no previous prototype for 'tegra_pmc_regmap_writel' [-Wmissing-prototypes]
    2545 | int tegra_pmc_regmap_writel(void *context, unsigned int reg, unsigned int val)
         |     ^~~~~~~~~~~~~~~~~~~~~~~

# https://github.com/0day-ci/linux/commit/56def0140d21d6eeb92615ae6ec5f7e25095c37f
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review JC-Kuo/Tegra-XHCI-controller-ELPG-support/20200828-091337
git checkout 56def0140d21d6eeb92615ae6ec5f7e25095c37f
vim +/tegra_pmc_regmap_readl +2537 drivers/soc/tegra/pmc.c

  2536	
> 2537	int tegra_pmc_regmap_readl(void *context, unsigned int reg, unsigned int *val)
  2538	{
  2539		struct tegra_pmc *pmc = context;
  2540	
  2541		*val = tegra_pmc_readl(pmc, reg);
  2542		return 0;
  2543	}
  2544	
> 2545	int tegra_pmc_regmap_writel(void *context, unsigned int reg, unsigned int val)
  2546	{
  2547		struct tegra_pmc *pmc = context;
  2548	
  2549		tegra_pmc_writel(pmc, val, reg);
  2550		return 0;
  2551	}
  2552	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 53062 bytes --]

  reply	other threads:[~2020-08-28 11:05 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-28  1:10 [PATCH 00/12] Tegra XHCI controller ELPG support JC Kuo
2020-08-28  1:10 ` [PATCH 01/12] clk: tegra: Add PLLE HW power sequencer control JC Kuo
2020-08-28  1:10 ` [PATCH 02/12] clk: tegra: don't enable PLLE HW sequencer at init JC Kuo
2020-08-28  1:10 ` [PATCH 03/12] phy: tegra: xusb: t210: rearrange UPHY init JC Kuo
2020-08-28  1:10 ` [PATCH 04/12] phy: tegra: xusb: t210: add lane_iddq operations JC Kuo
2020-08-28  1:10 ` [PATCH 05/12] phy: tegra: xusb: add sleepwalk and suspend/resume JC Kuo
2020-08-28  1:10 ` [PATCH 06/12] soc/tegra: pmc: provide usb sleepwalk register map JC Kuo
2020-08-28 10:53   ` kernel test robot [this message]
2020-08-28  1:10 ` [PATCH 07/12] arm64: tegra210: XUSB PADCTL add "nvidia,pmc" prop JC Kuo
2020-08-28  1:10 ` [PATCH 08/12] phy: tegra: xusb: t210: support wake and sleepwalk JC Kuo
2020-08-28  1:10 ` [PATCH 09/12] phy: tegra: xusb: t186: " JC Kuo
2020-08-28  1:10 ` [PATCH 10/12] arm64: tegra210/tegra186/tegra194: XUSB PADCTL irq JC Kuo
2020-08-28  1:10 ` [PATCH 11/12] usb: host: xhci-tegra: unlink power domain devices JC Kuo
2020-08-28  1:10 ` [PATCH 12/12] xhci: tegra: enable ELPG for runtime/system PM JC Kuo

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=202008281849.FCXeSTmY%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jckuo@nvidia.com \
    --cc=jonathanh@nvidia.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kishon@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=nkristam@nvidia.com \
    --cc=robh@kernel.org \
    --cc=thierry.reding@gmail.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).