From: kbuild test robot <lkp@intel.com>
To: Eddie James <eajames@linux.vnet.ibm.com>
Cc: kbuild-all@01.org, linux-kernel@vger.kernel.org,
gregkh@linuxfoundation.org, devicetree@vger.kernel.org,
robh+dt@kernel.org, mark.rutland@arm.com,
bradleyb@fuzziesquirrel.com, jk@ozlabs.org,
cbostic@linux.vnet.ibm.com, joel@jms.id.au, andrew@aj.id.au,
eajames@linux.vnet.ibm.com,
"Edward A. James" <eajames@us.ibm.com>
Subject: Re: [PATCH v2 2/5] drivers/fsi/sbefifo: Add in-kernel API
Date: Thu, 13 Jul 2017 01:24:02 +0800 [thread overview]
Message-ID: <201707130116.fVX3zySy%fengguang.wu@intel.com> (raw)
In-Reply-To: <1499290617-2598-3-git-send-email-eajames@linux.vnet.ibm.com>
[-- Attachment #1: Type: text/plain, Size: 4969 bytes --]
Hi Edward,
[auto build test ERROR on linus/master]
[also build test ERROR on next-20170712]
[cannot apply to v4.12]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Eddie-James/drivers-fsi-Add-SBEFIFO-and-OCC-drivers/20170707-232144
config: um-allyesconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=um
All errors (new ones prefixed by >>):
arch/um/drivers/built-in.o: In function `vde_open_real':
(.text+0xc9f1): warning: Using 'getgrnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `vde_open_real':
(.text+0xc83c): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `vde_open_real':
(.text+0xcb55): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `pcap_nametoaddr':
(.text+0x1d5e5): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `pcap_nametonetaddr':
(.text+0x1d685): warning: Using 'getnetbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `pcap_nametoproto':
(.text+0x1d8a5): warning: Using 'getprotobyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
arch/um/drivers/built-in.o: In function `pcap_nametoport':
(.text+0x1d6d7): warning: Using 'getservbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
drivers/built-in.o: In function `img_ascii_lcd_probe':
drivers/auxdisplay/img-ascii-lcd.c:386: undefined reference to `devm_ioremap_resource'
drivers/built-in.o: In function `sbefifo_probe':
>> drivers/fsi/fsi-sbefifo.c:853: undefined reference to `of_platform_device_create'
collect2: error: ld returned 1 exit status
vim +853 drivers/fsi/fsi-sbefifo.c
792
793 static int sbefifo_probe(struct device *dev)
794 {
795 struct fsi_device *fsi_dev = to_fsi_dev(dev);
796 struct sbefifo *sbefifo;
797 struct device_node *np;
798 struct platform_device *child;
799 char child_name[32];
800 u32 sts;
801 int ret, child_idx = 0;
802
803 sbefifo = kzalloc(sizeof(*sbefifo), GFP_KERNEL);
804 if (!sbefifo)
805 return -ENOMEM;
806
807 sbefifo->fsi_dev = fsi_dev;
808
809 ret = sbefifo_inw(sbefifo, SBEFIFO_UP | SBEFIFO_STS, &sts);
810 if (ret)
811 return ret;
812
813 if (!(sts & SBEFIFO_EMPTY)) {
814 dev_err(&sbefifo->fsi_dev->dev,
815 "Found data in upstream fifo\n");
816 return -EIO;
817 }
818
819 ret = sbefifo_inw(sbefifo, SBEFIFO_DWN | SBEFIFO_STS, &sts);
820 if (ret)
821 return ret;
822
823 if (!(sts & SBEFIFO_EMPTY)) {
824 dev_err(&sbefifo->fsi_dev->dev,
825 "Found data in downstream fifo\n");
826 return -EIO;
827 }
828
829 sbefifo->mdev.minor = MISC_DYNAMIC_MINOR;
830 sbefifo->mdev.fops = &sbefifo_fops;
831 sbefifo->mdev.name = sbefifo->name;
832 sbefifo->mdev.parent = dev;
833 spin_lock_init(&sbefifo->lock);
834 kref_init(&sbefifo->kref);
835
836 sbefifo->idx = ida_simple_get(&sbefifo_ida, 1, INT_MAX, GFP_KERNEL);
837 snprintf(sbefifo->name, sizeof(sbefifo->name), "sbefifo%d",
838 sbefifo->idx);
839 init_waitqueue_head(&sbefifo->wait);
840 INIT_LIST_HEAD(&sbefifo->xfrs);
841
842 /* This bit of silicon doesn't offer any interrupts... */
843 setup_timer(&sbefifo->poll_timer, sbefifo_poll_timer,
844 (unsigned long)sbefifo);
845
846 list_add(&sbefifo->link, &sbefifo_fifos);
847
848 if (dev->of_node) {
849 /* create platform devs for dts child nodes (occ, etc) */
850 for_each_child_of_node(dev->of_node, np) {
851 snprintf(child_name, sizeof(child_name), "%s-dev%d",
852 sbefifo->name, child_idx++);
> 853 child = of_platform_device_create(np, child_name, dev);
854 if (!child)
855 dev_warn(&sbefifo->fsi_dev->dev,
856 "failed to create child node dev\n");
857 }
858 }
859
860 return misc_register(&sbefifo->mdev);
861 }
862
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 19403 bytes --]
next prev parent reply other threads:[~2017-07-12 17:25 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-05 21:36 [PATCH v2 0/5] drivers/fsi: Add SBEFIFO and OCC drivers Eddie James
2017-07-05 21:36 ` [PATCH v2 1/5] drivers/fsi: Add SBEFIFO FSI client device driver Eddie James
2017-07-05 21:36 ` [PATCH v2 2/5] drivers/fsi/sbefifo: Add in-kernel API Eddie James
2017-07-12 17:24 ` kbuild test robot [this message]
2017-07-05 21:36 ` [PATCH v2 3/5] drivers/fsi: Add On-Chip Controller (OCC) driver Eddie James
2017-07-05 21:36 ` [PATCH v2 4/5] drivers/fsi/occ: Add in-kernel API Eddie James
2017-07-05 21:36 ` [PATCH v2 5/5] Documentation/devicetree/bindings: Add FSI device documentation Eddie James
2017-07-10 1:24 ` Rob Herring
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=201707130116.fVX3zySy%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andrew@aj.id.au \
--cc=bradleyb@fuzziesquirrel.com \
--cc=cbostic@linux.vnet.ibm.com \
--cc=devicetree@vger.kernel.org \
--cc=eajames@linux.vnet.ibm.com \
--cc=eajames@us.ibm.com \
--cc=gregkh@linuxfoundation.org \
--cc=jk@ozlabs.org \
--cc=joel@jms.id.au \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=robh+dt@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
all inboxes | Powered by JetHome®