lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:   Wed, 3 Jun 2020 20:31:51 +0800
From:   kernel test robot <lkp@...el.com>
To:     "Pierre-Louis, Bossart," <pierre-louis.bossart@...ux.intel.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Vinod Koul <vkoul@...nel.org>
Subject: drivers/soundwire/intel_init.c:192:7: warning: no previous prototype
 for 'sdw_intel_init'

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@...el.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@...el.com>
:::::: CC: Greg Kroah-Hartman <gregkh@...uxfoundation.org>

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

Download attachment ".config.gz" of type "application/gzip" (36338 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ