mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Pierre-Louis, Bossart," <pierre-louis.bossart@linux.intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Vinod Koul <vkoul@kernel.org>
Subject: drivers/soundwire/intel_init.c:192:7: warning: no previous prototype for 'sdw_intel_init'
Date: Wed, 3 Jun 2020 20:31:51 +0800	[thread overview]
Message-ID: <202006032047.FSdCveO4%lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   d6f9469a03d832dcd17041ed67774ffb5f3e73b3
commit: f98f690fb03c2a8d21dfa31aa1042480cf6f7f9b soundwire: intel: update interfaces between ASoC and SoundWire
date:   6 months ago
config: ia64-randconfig-r026-20200603 (attached as .config)
compiler: ia64-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
        git checkout f98f690fb03c2a8d21dfa31aa1042480cf6f7f9b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=ia64 

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 >>, old ones prefixed by <<):

>> drivers/soundwire/intel_init.c:192:7: warning: no previous prototype for 'sdw_intel_init' [-Wmissing-prototypes]
192 | void *sdw_intel_init(acpi_handle *parent_handle, struct sdw_intel_res *res)
|       ^~~~~~~~~~~~~~

vim +/sdw_intel_init +192 drivers/soundwire/intel_init.c

d62a7d41f38e1d3 Vinod Koul 2017-12-14  183  
d62a7d41f38e1d3 Vinod Koul 2017-12-14  184  /**
d62a7d41f38e1d3 Vinod Koul 2017-12-14  185   * sdw_intel_init() - SoundWire Intel init routine
d62a7d41f38e1d3 Vinod Koul 2017-12-14  186   * @parent_handle: ACPI parent handle
d62a7d41f38e1d3 Vinod Koul 2017-12-14  187   * @res: resource data
d62a7d41f38e1d3 Vinod Koul 2017-12-14  188   *
d62a7d41f38e1d3 Vinod Koul 2017-12-14  189   * This scans the namespace and creates SoundWire link controller devices
d62a7d41f38e1d3 Vinod Koul 2017-12-14  190   * based on the info queried.
d62a7d41f38e1d3 Vinod Koul 2017-12-14  191   */
d62a7d41f38e1d3 Vinod Koul 2017-12-14 @192  void *sdw_intel_init(acpi_handle *parent_handle, struct sdw_intel_res *res)
d62a7d41f38e1d3 Vinod Koul 2017-12-14  193  {
d62a7d41f38e1d3 Vinod Koul 2017-12-14  194  	acpi_status status;
d62a7d41f38e1d3 Vinod Koul 2017-12-14  195  
d62a7d41f38e1d3 Vinod Koul 2017-12-14  196  	status = acpi_walk_namespace(ACPI_TYPE_DEVICE,
d62a7d41f38e1d3 Vinod Koul 2017-12-14  197  				     parent_handle, 1,
d62a7d41f38e1d3 Vinod Koul 2017-12-14  198  				     sdw_intel_acpi_cb,
d62a7d41f38e1d3 Vinod Koul 2017-12-14  199  				     NULL, res, NULL);
d62a7d41f38e1d3 Vinod Koul 2017-12-14  200  	if (ACPI_FAILURE(status))
d62a7d41f38e1d3 Vinod Koul 2017-12-14  201  		return NULL;
d62a7d41f38e1d3 Vinod Koul 2017-12-14  202  
d62a7d41f38e1d3 Vinod Koul 2017-12-14  203  	return sdw_intel_add_controller(res);
d62a7d41f38e1d3 Vinod Koul 2017-12-14  204  }
d62a7d41f38e1d3 Vinod Koul 2017-12-14  205  

:::::: The code at line 192 was first introduced by commit
:::::: d62a7d41f38e1d3f8f8a1c0db4dec7a5bb39268a soundwire: intel: Add Intel init module

:::::: TO: Vinod Koul <vinod.koul@intel.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

                 reply	other threads:[~2020-06-03 12:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202006032047.FSdCveO4%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=vkoul@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome