Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754676AbcLSIDm (ORCPT ); Mon, 19 Dec 2016 03:03:42 -0500 Received: from mout.gmx.net ([212.227.17.21]:58550 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751192AbcLSIDk (ORCPT ); Mon, 19 Dec 2016 03:03:40 -0500 From: Heinrich Schuchardt Subject: Re: [PATCH 2/3] of/overlay: sysfs based ABI for dt overlays To: kbuild test robot References: <201612191008.JibpO0Px%fengguang.wu@intel.com> Cc: kbuild-all@01.org, Rob Herring , Mark Rutland , Frank Rowand , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Message-ID: Date: Mon, 19 Dec 2016 09:03:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.4.0 MIME-Version: 1.0 In-Reply-To: <201612191008.JibpO0Px%fengguang.wu@intel.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:IhqFdPlJyeHebeYPVIHtI6dO2XYhvb3dXtdOpqoXrakLUB3wh/n aZRdYnu+gFyvI8xj1WILVDDZq1WI1dlcO5d5SYKzVxkbGt9Hy4btJlOAMO5RM35Pbd+DhTO nYPLFJaqurlZgjsN+y4BMMtSu/4q389XDntb82laFMkFfxs6iNK44PEAWHYsMxfQAZ8Osih s63OyKy/Aa72FQVS2NY+Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:x6nTjbes0zg=:L8hm0pbubhKoKUwbRfL7zm ZSB/KclWxLdLbEyFc6pXTsEjGL4DTX0O9XTCVfwkTs3ikToq90JsitqUJA39eeDXvrzEn6Uju lQOFvTxrPlhTjsxzwuHA6VadXcmMqdFgqBZuvQ1EgIdDX7VfxE6MueD55L90oC0pMnmjZgrn0 odU7ZvMAuFRFpTbhiiwKWTZJyaliOB24KfkHgd2/tWcTSlkbO2CT4+V186ssYnJmJt7IH+/UK DDdrNDlb+PJuq2yeyk8xpK9LC5jQF+MqLq2ICdepOpbxWJAr4tU4/kSr19VEkx1qJAAL49Zx2 lO4STvX1sALOkh6dAO9JuvTpzIcHzL3ClTqh69k9+0fudB1FIyRq33bYI1ejCOIEPoI0Nbo7M afGm/Mk+hruYMGZX24CQUQyvrtu9FavY3V4FFdEtBglt2E5NfhvZWrNBuD7TUUH7MtxVGhQQU WY8Da0khynZpN0GGDNDI5kgYTxv9JzBk9nbofK6LLTVLzPjLMbNRGFxn7IOzV9F9FxrMvdbsR qaHlGvMRAoROlG1VbDQMZpfuU/sJOIn8geY5jOTz+Op56wFWZ+HFKYo5H73RVzR5Y2lK0HTX4 VEYBcAq8T4dzmA8jT1CIWYKDFxnbQNeHgAS9vVWbwCVVk+v+expS6I9aD0MoAZaHvFVaJQtk8 TuGD6RXrBvWTWFSwRROdEVMifIV/BOcdocFB2X+DCED2KO+pCOt6+X2uhMUqkf/egBfeO0fv4 XUBDdQECwXUURzfzr5o1T6X8WP6QhU46f2SG68+Pw7HYmtJNtOkxdpCboW4BZeRHNQzl6D5jJ uhtpnNW Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2036 Lines: 49 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 >