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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202111072005.da93jVg7-lkp@intel.com>
Date:   Sun, 7 Nov 2021 20:37:32 +0800
From:   kernel test robot <lkp@...el.com>
To:     Puranjay Mohan <puranjay12@...il.com>, gregkh@...uxfoundation.org,
        rafael@...nel.org, linux-kernel@...r.kernel.org, jic23@...nel.org,
        linux-iio@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, Puranjay Mohan <puranjay12@...il.com>
Subject: Re: [PATCH 1/1] device property: Add fwnode_irq_get_by_name

Hi Puranjay,

I love your patch! Yet something to improve:

[auto build test ERROR on driver-core/driver-core-testing]
[also build test ERROR on v5.15 next-20211106]
[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/Puranjay-Mohan/device-property-Adding-fwnode_irq_get_by_name/20211107-014150
base:   https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git 27e0bcd02990f7291adb0f111e300f06c495d509
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.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/b3dc64f4a6e40482f1d4313e5cb664a60cf5eb13
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Puranjay-Mohan/device-property-Adding-fwnode_irq_get_by_name/20211107-014150
        git checkout b3dc64f4a6e40482f1d4313e5cb664a60cf5eb13
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

>> drivers/base/property.c:1032:5: error: no previous prototype for 'fwnode_irq_get_by_name' [-Werror=missing-prototypes]
    1032 | int fwnode_irq_get_by_name(const struct fwnode_handle *fwnode, const char *name)
         |     ^~~~~~~~~~~~~~~~~~~~~~
   cc1: all warnings being treated as errors


vim +/fwnode_irq_get_by_name +1032 drivers/base/property.c

  1023	
  1024	/**
  1025	 * fwnode_irq_get_by_name - Get IRQ directly from its name.
  1026	 * @fwnode:    Pointer to the firmware node
  1027	 * @name:      IRQ Name
  1028	 *
  1029	 * Returns Linux IRQ number on success. Other values are determined
  1030	 * accordingly to acpi_/of_ irq_get() operation.
  1031	 */
> 1032	int fwnode_irq_get_by_name(const struct fwnode_handle *fwnode, const char *name)
  1033	{
  1034		int index;
  1035	
  1036		if (unlikely(!name))
  1037			return -EINVAL;
  1038	
  1039		index = of_property_match_string(to_of_node(fwnode), "interrupt-names",
  1040						 name);
  1041		if (index < 0)
  1042			return index;
  1043	
  1044		return fwnode_irq_get(fwnode, index);
  1045	}
  1046	EXPORT_SYMBOL(fwnode_irq_get_by_name);
  1047	

---
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" (69492 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ