All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Dmitry Osipenko <digetx@gmail.com>,
	Thierry Reding <thierry.reding@gmail.com>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.com>,
	Jaroslav Kysela <perex@perex.cz>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Paul Fertser <fercerpav@gmail.com>
Cc: linux-tegra@vger.kernel.org, clang-built-linux@googlegroups.com,
	alsa-devel@alsa-project.org, kbuild-all@lists.01.org,
	devicetree@vger.kernel.org
Subject: Re: [PATCH v2 4/5] reset: Add reset_control_bulk API
Date: Fri, 12 Mar 2021 01:37:23 +0800	[thread overview]
Message-ID: <202103120118.5OdZw9HM-lkp@intel.com> (raw)
In-Reply-To: <20210311151554.23982-5-digetx@gmail.com>

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

Hi Dmitry,

I love your patch! Perhaps something to improve:

[auto build test WARNING on pza/reset/next]
[also build test WARNING on asoc/for-next linus/master v5.12-rc2 next-20210311]
[cannot apply to tegra/for-next]
[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/Dmitry-Osipenko/Add-missing-reset-controls-to-NVIDIA-Tegra-ASoC-drivers/20210311-231938
base:   https://git.pengutronix.de/git/pza/linux reset/next
config: x86_64-randconfig-a011-20210311 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 574a9dabc63ba1e7a04c08d4bde2eacd61b44ce1)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/082cad3274c4566ac97502fd137479791c318300
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Dmitry-Osipenko/Add-missing-reset-controls-to-NVIDIA-Tegra-ASoC-drivers/20210311-231938
        git checkout 082cad3274c4566ac97502fd137479791c318300
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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/reset/core.c:1013:6: warning: no previous prototype for function 'reset_control_bulk_put' [-Wmissing-prototypes]
   void reset_control_bulk_put(int num_rstcs, struct reset_control_bulk_data *rstcs)
        ^
   drivers/reset/core.c:1013:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void reset_control_bulk_put(int num_rstcs, struct reset_control_bulk_data *rstcs)
   ^
   static 
   1 warning generated.


vim +/reset_control_bulk_put +1013 drivers/reset/core.c

  1007	
  1008	/**
  1009	 * reset_control_bulk_put - free the reset controllers
  1010	 * @num_rstcs: number of entries in rstcs array
  1011	 * @rstcs: array of struct reset_control_bulk_data with reset controls set
  1012	 */
> 1013	void reset_control_bulk_put(int num_rstcs, struct reset_control_bulk_data *rstcs)
  1014	{
  1015		mutex_lock(&reset_list_mutex);
  1016		while (num_rstcs--) {
  1017			if (IS_ERR_OR_NULL(rstcs[num_rstcs].rstc))
  1018				continue;
  1019			__reset_control_put_internal(rstcs[num_rstcs].rstc);
  1020		}
  1021		mutex_unlock(&reset_list_mutex);
  1022	}
  1023	EXPORT_SYMBOL_GPL(reset_control_bulk_put);
  1024	

---
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: 43186 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Dmitry Osipenko <digetx@gmail.com>,
	Thierry Reding <thierry.reding@gmail.com>,
	Jonathan Hunter <jonathanh@nvidia.com>,
	Mark Brown <broonie@kernel.org>, Takashi Iwai <tiwai@suse.com>,
	Jaroslav Kysela <perex@perex.cz>,
	Philipp Zabel <p.zabel@pengutronix.de>,
	Paul Fertser <fercerpav@gmail.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	alsa-devel@alsa-project.org, devicetree@vger.kernel.org,
	linux-tegra@vger.kernel.org
Subject: Re: [PATCH v2 4/5] reset: Add reset_control_bulk API
Date: Fri, 12 Mar 2021 01:37:23 +0800	[thread overview]
Message-ID: <202103120118.5OdZw9HM-lkp@intel.com> (raw)
In-Reply-To: <20210311151554.23982-5-digetx@gmail.com>

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

Hi Dmitry,

I love your patch! Perhaps something to improve:

[auto build test WARNING on pza/reset/next]
[also build test WARNING on asoc/for-next linus/master v5.12-rc2 next-20210311]
[cannot apply to tegra/for-next]
[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/Dmitry-Osipenko/Add-missing-reset-controls-to-NVIDIA-Tegra-ASoC-drivers/20210311-231938
base:   https://git.pengutronix.de/git/pza/linux reset/next
config: x86_64-randconfig-a011-20210311 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 574a9dabc63ba1e7a04c08d4bde2eacd61b44ce1)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/082cad3274c4566ac97502fd137479791c318300
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Dmitry-Osipenko/Add-missing-reset-controls-to-NVIDIA-Tegra-ASoC-drivers/20210311-231938
        git checkout 082cad3274c4566ac97502fd137479791c318300
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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/reset/core.c:1013:6: warning: no previous prototype for function 'reset_control_bulk_put' [-Wmissing-prototypes]
   void reset_control_bulk_put(int num_rstcs, struct reset_control_bulk_data *rstcs)
        ^
   drivers/reset/core.c:1013:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void reset_control_bulk_put(int num_rstcs, struct reset_control_bulk_data *rstcs)
   ^
   static 
   1 warning generated.


vim +/reset_control_bulk_put +1013 drivers/reset/core.c

  1007	
  1008	/**
  1009	 * reset_control_bulk_put - free the reset controllers
  1010	 * @num_rstcs: number of entries in rstcs array
  1011	 * @rstcs: array of struct reset_control_bulk_data with reset controls set
  1012	 */
> 1013	void reset_control_bulk_put(int num_rstcs, struct reset_control_bulk_data *rstcs)
  1014	{
  1015		mutex_lock(&reset_list_mutex);
  1016		while (num_rstcs--) {
  1017			if (IS_ERR_OR_NULL(rstcs[num_rstcs].rstc))
  1018				continue;
  1019			__reset_control_put_internal(rstcs[num_rstcs].rstc);
  1020		}
  1021		mutex_unlock(&reset_list_mutex);
  1022	}
  1023	EXPORT_SYMBOL_GPL(reset_control_bulk_put);
  1024	

---
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: 43186 bytes --]

WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH v2 4/5] reset: Add reset_control_bulk API
Date: Fri, 12 Mar 2021 01:37:23 +0800	[thread overview]
Message-ID: <202103120118.5OdZw9HM-lkp@intel.com> (raw)
In-Reply-To: <20210311151554.23982-5-digetx@gmail.com>

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

Hi Dmitry,

I love your patch! Perhaps something to improve:

[auto build test WARNING on pza/reset/next]
[also build test WARNING on asoc/for-next linus/master v5.12-rc2 next-20210311]
[cannot apply to tegra/for-next]
[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/Dmitry-Osipenko/Add-missing-reset-controls-to-NVIDIA-Tegra-ASoC-drivers/20210311-231938
base:   https://git.pengutronix.de/git/pza/linux reset/next
config: x86_64-randconfig-a011-20210311 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 574a9dabc63ba1e7a04c08d4bde2eacd61b44ce1)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/0day-ci/linux/commit/082cad3274c4566ac97502fd137479791c318300
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Dmitry-Osipenko/Add-missing-reset-controls-to-NVIDIA-Tegra-ASoC-drivers/20210311-231938
        git checkout 082cad3274c4566ac97502fd137479791c318300
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

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/reset/core.c:1013:6: warning: no previous prototype for function 'reset_control_bulk_put' [-Wmissing-prototypes]
   void reset_control_bulk_put(int num_rstcs, struct reset_control_bulk_data *rstcs)
        ^
   drivers/reset/core.c:1013:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   void reset_control_bulk_put(int num_rstcs, struct reset_control_bulk_data *rstcs)
   ^
   static 
   1 warning generated.


vim +/reset_control_bulk_put +1013 drivers/reset/core.c

  1007	
  1008	/**
  1009	 * reset_control_bulk_put - free the reset controllers
  1010	 * @num_rstcs: number of entries in rstcs array
  1011	 * @rstcs: array of struct reset_control_bulk_data with reset controls set
  1012	 */
> 1013	void reset_control_bulk_put(int num_rstcs, struct reset_control_bulk_data *rstcs)
  1014	{
  1015		mutex_lock(&reset_list_mutex);
  1016		while (num_rstcs--) {
  1017			if (IS_ERR_OR_NULL(rstcs[num_rstcs].rstc))
  1018				continue;
  1019			__reset_control_put_internal(rstcs[num_rstcs].rstc);
  1020		}
  1021		mutex_unlock(&reset_list_mutex);
  1022	}
  1023	EXPORT_SYMBOL_GPL(reset_control_bulk_put);
  1024	

---
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: 43186 bytes --]

  parent reply	other threads:[~2021-03-11 17:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 15:15 [PATCH v2 0/5] Add missing reset controls to NVIDIA Tegra ASoC drivers Dmitry Osipenko
2021-03-11 15:15 ` Dmitry Osipenko
2021-03-11 15:15 ` [PATCH v2 1/5] ASoC: tegra20: ac97: Add reset control Dmitry Osipenko
2021-03-11 15:15   ` Dmitry Osipenko
2021-03-11 15:15 ` [PATCH v2 2/5] ASoC: tegra20: i2s: " Dmitry Osipenko
2021-03-11 15:15   ` Dmitry Osipenko
2021-03-11 15:15 ` [PATCH v2 3/5] ASoC: tegra30: i2s: Restore hardware state on runtime PM resume Dmitry Osipenko
2021-03-11 15:15   ` Dmitry Osipenko
2021-03-11 15:15 ` [PATCH v2 4/5] reset: Add reset_control_bulk API Dmitry Osipenko
2021-03-11 15:15   ` Dmitry Osipenko
2021-03-11 16:32   ` kernel test robot
2021-03-11 16:32     ` kernel test robot
2021-03-11 16:32     ` kernel test robot
2021-03-11 16:39     ` Dmitry Osipenko
2021-03-11 16:39       ` Dmitry Osipenko
2021-03-11 16:39       ` Dmitry Osipenko
2021-03-11 17:37   ` kernel test robot [this message]
2021-03-11 17:37     ` kernel test robot
2021-03-11 17:37     ` kernel test robot
2021-03-11 15:15 ` [PATCH v2 5/5] ASoC: tegra: ahub: Switch to use reset-bulk API Dmitry Osipenko
2021-03-11 15:15   ` Dmitry Osipenko

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=202103120118.5OdZw9HM-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@kernel.org \
    --cc=clang-built-linux@googlegroups.com \
    --cc=devicetree@vger.kernel.org \
    --cc=digetx@gmail.com \
    --cc=fercerpav@gmail.com \
    --cc=jonathanh@nvidia.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    --cc=perex@perex.cz \
    --cc=thierry.reding@gmail.com \
    --cc=tiwai@suse.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 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.