From: Heinrich Schuchardt <xypron.glpk@gmx.de>
To: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
Frank Rowand <frowand.list@gmail.com>,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/3] of/overlay: sysfs based ABI for dt overlays
Date: Mon, 19 Dec 2016 09:03:13 +0100 [thread overview]
Message-ID: <a4bee009-4dc7-e8cc-e3ae-bca8042132dd@gmx.de> (raw)
In-Reply-To: <201612191008.JibpO0Px%fengguang.wu@intel.com>
On 12/19/2016 03:34 AM, kbuild test robot wrote:
> Hi Heinrich,
>
> [auto build test ERROR on linus/master]
> [also build test ERROR on next-20161216]
> [cannot apply to glikely/devicetree/next robh/for-next v4.9]
> [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/Heinrich-Schuchardt/of-overlay-sysfs-based-ABI-for-dt-overlays/20161219-093606
> config: i386-randconfig-r0-12190124 (attached as .config)
> compiler: gcc-5 (Debian 5.4.1-2) 5.4.1 20160904
> reproduce:
> # save the attached .config to linux build tree
> make ARCH=i386
>
> All error/warnings (new ones prefixed by >>):
>
> drivers/of/ov_sysfs.c: In function 'of_create_overlay_from_file':
> drivers/of/ov_sysfs.c:69:12: error: implicit declaration of function 'of_fdt_unflatten_tree' [-Werror=implicit-function-declaration]
select OF_EARLY_FLATTREE
is missing in Kconfig. It is automatically selected on ARM64 but not on
other architectures.
> overlay = of_fdt_unflatten_tree((unsigned long *) buffer, NULL, NULL);
> ^
>>> drivers/of/ov_sysfs.c:69:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
> overlay = of_fdt_unflatten_tree((unsigned long *) buffer, NULL, NULL);
> ^
> cc1: some warnings being treated as errors
>
> vim +/of_fdt_unflatten_tree +69 drivers/of/ov_sysfs.c
>
> 63 offset < fdt_totalsize(buffer)) {
> 64 pr_err("OF: Size of %s does not match header information\n",
> 65 path);
> 66 ret = -EINVAL;
> 67 goto err_file_read;
> 68 }
> > 69 overlay = of_fdt_unflatten_tree((unsigned long *) buffer, NULL, NULL);
> 70 if (overlay == NULL) {
> 71 pr_err("OF: Cannot unflatten %s\n", path);
> 72 ret = -EINVAL;
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
>
next prev parent reply other threads:[~2016-12-19 8:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-19 1:10 [PATCH 0/3] of/overlay: sysfs based ABI for dt overlays Heinrich Schuchardt
2016-12-19 1:10 ` [PATCH 1/3] of/overlay: add API function to count and pop last Heinrich Schuchardt
2016-12-19 2:15 ` kbuild test robot
2016-12-19 1:10 ` [PATCH 2/3] of/overlay: sysfs based ABI for dt overlays Heinrich Schuchardt
2016-12-19 2:34 ` kbuild test robot
2016-12-19 8:03 ` Heinrich Schuchardt [this message]
2016-12-19 1:10 ` [PATCH 3/3] of/overlay: documentation for sysfs ABI Heinrich Schuchardt
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=a4bee009-4dc7-e8cc-e3ae-bca8042132dd@gmx.de \
--to=xypron.glpk@gmx.de \
--cc=devicetree@vger.kernel.org \
--cc=frowand.list@gmail.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
--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;
as well as URLs for NNTP newsgroup(s).