From: kernel test robot <lkp@intel.com>
To: Puranjay Mohan <puranjay12@gmail.com>,
gregkh@linuxfoundation.org, rafael@kernel.org,
linux-kernel@vger.kernel.org, jic23@kernel.org,
linux-iio@vger.kernel.org
Cc: kbuild-all@lists.01.org, Puranjay Mohan <puranjay12@gmail.com>
Subject: Re: [PATCH 1/1] device property: Add fwnode_irq_get_by_name
Date: Sun, 7 Nov 2021 20:37:32 +0800 [thread overview]
Message-ID: <202111072005.da93jVg7-lkp@intel.com> (raw)
In-Reply-To: <20211106173909.34255-2-puranjay12@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2726 bytes --]
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@intel.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
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 69492 bytes --]
next prev parent reply other threads:[~2021-11-07 12:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-06 17:39 [PATCH 0/1] device property: Adding fwnode_irq_get_by_name() Puranjay Mohan
2021-11-06 17:39 ` [PATCH 1/1] device property: Add fwnode_irq_get_by_name Puranjay Mohan
2021-11-07 1:33 ` kernel test robot
2021-11-07 12:37 ` kernel test robot [this message]
2021-11-07 8:29 ` [PATCH 0/1] device property: Adding fwnode_irq_get_by_name() Greg KH
2021-11-09 19:30 ` Puranjay Mohan
2021-11-09 19:45 ` Greg KH
2021-11-09 20:13 ` Puranjay Mohan
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=202111072005.da93jVg7-lkp@intel.com \
--to=lkp@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=jic23@kernel.org \
--cc=kbuild-all@lists.01.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=puranjay12@gmail.com \
--cc=rafael@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;
as well as URLs for NNTP newsgroup(s).