Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp272824rdg; Tue, 10 Oct 2023 09:48:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGABLbvS0gx0VlaAP6gvaBYjrrqA1h/Zh7O1pRcOttXRu0ycR+nYoroH96UzXlrLTHAzAsg X-Received: by 2002:a17:90b:3686:b0:279:13c3:6b21 with SMTP id mj6-20020a17090b368600b0027913c36b21mr15744459pjb.9.1696956514146; Tue, 10 Oct 2023 09:48:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696956514; cv=none; d=google.com; s=arc-20160816; b=yxF8lMR7Dzq3YZYufpwqbaXFRLVmxtmx80pLuzx+F0vWSypMwCvSjNwYSbdLZrggnH y/izlBY03duy4Rq4me/JGRjrABubCHc7iJTIuqJ0KyCIBrrT/vSHx/SXrHE/KLkCEjXd 7QTeRro+5E2OrNVMKsmsj5c3zPaFOrBJPAlRq7ZnsrBkQY3fSXhPssxsWxZysZ86q7/+ gOEi6hqZtyuORGTnzzFyyxclx6YcCC5nTnn73xkiESEh+o0fP93k5p0WS7PMnInW1rtP 0R6JnRu0sAhNSHO9VydYwpsTmDvPAJg/uC3olmC2l+xBxSkEVMaPvf6B9ua8U1680TWe lq/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/qoMHix6Tl70q3OVmyJmxiIvAxrREPmCTaIj6ZChbks=; fh=HzUZCHTPK+sT2ka2I0j+waDTzZJP6xfp/jAt4/LxEIw=; b=kpNgTGeebdzoN4APjpTaRR3g72t+eGm6TK7z26W6HJKblDjocTxSCg7Acf1rf10aYe nnFc7USnIDeX56UOfNAvU0CmXk46SG0ptYtjQwRm9K89UDwNwqbJ/26xA2MmcMK6hMs7 5Q2dxwugEVe+TJekSE0QqBvAJaiAs+8JRmJq8910hTuKD1sDwxNooYVF7x9FkQH51FL3 jHYFm9W58+6Ql/tKrDfCBoxT1l2GQc3pzQi0TJaGQHi1rwNd9c/Kb6rW1G7S/rthcCNE Sl8+lTMsz9engp0TgVlhW/NJ+TOubfohf2Oaoe7HZiOxDZQvBzgLmuvxOXvhmdHa7jjW Ey6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mVgkJ9Av; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id qe8-20020a17090b4f8800b002749baa2edesi15985930pjb.24.2023.10.10.09.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Oct 2023 09:48:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mVgkJ9Av; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 490A58374C8D; Tue, 10 Oct 2023 09:48:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231682AbjJJQsT (ORCPT + 99 others); Tue, 10 Oct 2023 12:48:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231231AbjJJQsS (ORCPT ); Tue, 10 Oct 2023 12:48:18 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 324F394 for ; Tue, 10 Oct 2023 09:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696956497; x=1728492497; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=e8TD8fyZB8TbIJUDFLIBu/enOaX3wuVvp6P9AD7yJDE=; b=mVgkJ9Av+YfxvY4HvSBBYq873f1w8nry0C6whePtCRynVfAEztYcKQBM SajOlaD90PiN1ZcW5i9xfeJg+RhvSftejyeFvHhCzxO/hWgrdSNA07BYr 1GMtMP/cfXeUBMiaweSDiSSdUUIHaikDcJcQt/OiJnm/iY9z7ctvRSH4C CSCjTeVrdTeB3moHVqLXJZwcry6T5J8PmhWLOsk4+gCB89DFYWQBXypjl Myk1tiPTlgQWjrNTHPeRCex+BLGCGZFAEmjN9nbUKuUWC2RPVUZpjchFg qsTqxOyrRn/LWNw1lCll6Ssn6DWzVHWlWwjnTpRU6hNJNEgCGzHMsfWaM Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="388319652" X-IronPort-AV: E=Sophos;i="6.03,213,1694761200"; d="scan'208";a="388319652" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2023 09:47:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10859"; a="927221129" X-IronPort-AV: E=Sophos;i="6.03,213,1694761200"; d="scan'208";a="927221129" Received: from lkp-server02.sh.intel.com (HELO f64821696465) ([10.239.97.151]) by orsmga005.jf.intel.com with ESMTP; 10 Oct 2023 09:47:19 -0700 Received: from kbuild by f64821696465 with local (Exim 4.96) (envelope-from ) id 1qqFt7-0000m0-2Y; Tue, 10 Oct 2023 16:47:17 +0000 Date: Wed, 11 Oct 2023 00:47:17 +0800 From: kernel test robot To: Naresh Solanki , broonie@kernel.org, zev@bewilderbeest.net, Liam Girdwood Cc: oe-kbuild-all@lists.linux.dev, Naresh Solanki , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] regulator: userspace-consumer: Retrieve supplies from DT Message-ID: <202310110043.uMSq3kAw-lkp@intel.com> References: <20231004121010.1192344-2-naresh.solanki@9elements.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231004121010.1192344-2-naresh.solanki@9elements.com> X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 10 Oct 2023 09:48:31 -0700 (PDT) X-Spam-Level: ** Hi Naresh, kernel test robot noticed the following build errors: [auto build test ERROR on f9a1d31874c383f58bb4f89bfe79b764682cd026] url: https://github.com/intel-lab-lkp/linux/commits/Naresh-Solanki/regulator-userspace-consumer-Retrieve-supplies-from-DT/20231004-201151 base: f9a1d31874c383f58bb4f89bfe79b764682cd026 patch link: https://lore.kernel.org/r/20231004121010.1192344-2-naresh.solanki%409elements.com patch subject: [PATCH v2 2/3] regulator: userspace-consumer: Retrieve supplies from DT config: x86_64-buildonly-randconfig-003-20231010 (https://download.01.org/0day-ci/archive/20231011/202310110043.uMSq3kAw-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231011/202310110043.uMSq3kAw-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202310110043.uMSq3kAw-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/regulator/userspace-consumer.c: In function 'get_num_supplies': drivers/regulator/userspace-consumer.c:139:9: error: implicit declaration of function 'for_each_property_of_node'; did you mean 'for_each_child_of_node'? [-Werror=implicit-function-declaration] 139 | for_each_property_of_node(pdev->dev.of_node, prop) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | for_each_child_of_node drivers/regulator/userspace-consumer.c:139:59: error: expected ';' before '{' token 139 | for_each_property_of_node(pdev->dev.of_node, prop) { | ^~ | ; drivers/regulator/userspace-consumer.c:137:13: warning: unused variable 'num_supplies' [-Wunused-variable] 137 | int num_supplies = 0; | ^~~~~~~~~~~~ >> drivers/regulator/userspace-consumer.c:144:1: error: no return statement in function returning non-void [-Werror=return-type] 144 | } | ^ drivers/regulator/userspace-consumer.c: In function 'regulator_userspace_consumer_probe': drivers/regulator/userspace-consumer.c:170:67: error: expected ';' before '{' token 170 | for_each_property_of_node(pdev->dev.of_node, prop) { | ^~ | ; drivers/regulator/userspace-consumer.c: At top level: drivers/regulator/userspace-consumer.c:121:15: warning: 'prop_supply_name' defined but not used [-Wunused-function] 121 | static size_t prop_supply_name(char *prop_name) | ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +144 drivers/regulator/userspace-consumer.c 133 134 static int get_num_supplies(struct platform_device *pdev) 135 { 136 struct property *prop; 137 int num_supplies = 0; 138 139 for_each_property_of_node(pdev->dev.of_node, prop) { 140 if (prop_supply_name(prop->name)) 141 num_supplies++; 142 } 143 return num_supplies; > 144 } 145 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki