From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 40FA4C47DB3 for ; Mon, 29 Jan 2024 16:12:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ronOev11+JeBXpxL4Qm6Brd8sjbaQ1YMMPtwyB/VSX4=; b=LOIbcV+s5my74c +qPsgGov+KtRWipiN2QONdNeJ/BGtIdJKY43R9nobeG8UXLVof71fNlcG8OsCwxSaDn2s25sxx1bU 0eCGetgEpjkSslh3ddXQ9nlNQISUXym5G7Lkz64ylwh6owCjqZr0OKxoOL4P4h5g0SBheRDwtcQDb yWFJRxb6KEymDR3g/3hc1nloI8gGiOUEFQN72XJ8dBlWk+cWOjo1FcAj5rNnaNyonIxDN0kUY27x5 d5JHtUgfFf+M4f5snMyFKlm/trqyRGrhRSf/ErmRwc8lPmf6lIhmpUtDmMxNJt32ln5qTz/x9U1Mc QdiHmHbEn2pdyOTUtmhw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUUEr-0000000DRWS-29P3; Mon, 29 Jan 2024 16:12:01 +0000 Received: from mgamail.intel.com ([198.175.65.10]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rUUEo-0000000DRVe-3xLm for linux-arm-kernel@lists.infradead.org; Mon, 29 Jan 2024 16:12:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706544719; x=1738080719; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=EJuKz+rDfnnrgz4jtF7KK8M8+lKo37WzgpZ8fWKe+go=; b=Tda5DombroXoSgNlAMeHzJNxPRKHMUbVgE10Hnzx17QCmIFC0zyJ/Usp qUg0cp7k5jJU786qugDg1J2Ko2xFoDScbp2pH4UdCRCHM5md2xwMrW0Wk SFE241fXa0ociE1nkDCVGi0LemlIJtEu4JNfw9+3owXxmuCpvx2VRqw4h lLTJKQF09+sWExZu3p0UBBbvpEFslahvq4pkh3wWgFABPHmPwHAvN/cbn 4gv/C7Pcx7RmCHfBUa5qN2ZGgUWX5zqGFz+qvxRODcILnUC4L1hAeLXbc AHi7y7MuT7Wn+k2Nd8YR+IitKUdQbOieaSRAPkkLexZ9YFdyhtsNewVzU Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10968"; a="16359740" X-IronPort-AV: E=Sophos;i="6.05,227,1701158400"; d="scan'208";a="16359740" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Jan 2024 08:02:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.05,227,1701158400"; d="scan'208";a="3342415" Received: from lkp-server01.sh.intel.com (HELO 370188f8dc87) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 29 Jan 2024 08:02:44 -0800 Received: from kbuild by 370188f8dc87 with local (Exim 4.96) (envelope-from ) id 1rUU5q-0004Oq-0h; Mon, 29 Jan 2024 16:02:42 +0000 Date: Tue, 30 Jan 2024 00:02:16 +0800 From: kernel test robot To: Billy Tsai , jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au, corbet@lwn.net, u.kleine-koenig@pengutronix.de, p.zabel@pengutronix.de, naresh.solanki@9elements.com, linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-aspeed@lists.ozlabs.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, linux-pwm@vger.kernel.org, BMC-SW@aspeedtech.com, patrick@stwcx.xyz Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH v13 3/3] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach Message-ID: <202401292303.6SVAncvn-lkp@intel.com> References: <20240124060705.1342461-4-billy_tsai@aspeedtech.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240124060705.1342461-4-billy_tsai@aspeedtech.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240129_081159_052440_1B00BF28 X-CRM114-Status: GOOD ( 13.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Billy, kernel test robot noticed the following build errors: [auto build test ERROR on groeck-staging/hwmon-next] [also build test ERROR on linus/master v6.8-rc2 next-20240129] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Billy-Tsai/dt-bindings-hwmon-fan-Add-fan-binding-to-schema/20240124-141405 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next patch link: https://lore.kernel.org/r/20240124060705.1342461-4-billy_tsai%40aspeedtech.com patch subject: [PATCH v13 3/3] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach config: riscv-randconfig-r071-20240129 (https://download.01.org/0day-ci/archive/20240129/202401292303.6SVAncvn-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project.git f28c006a5895fc0e329fe15fead81e37457cb1d1) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240129/202401292303.6SVAncvn-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/202401292303.6SVAncvn-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/hwmon/aspeed-g6-pwm-tach.c:496:2: error: implicit declaration of function 'of_platform_populate' is invalid in C99 [-Werror,-Wimplicit-function-declaration] of_platform_populate(dev->of_node, NULL, NULL, dev); ^ 1 error generated. vim +/of_platform_populate +496 drivers/hwmon/aspeed-g6-pwm-tach.c 446 447 static int aspeed_pwm_tach_probe(struct platform_device *pdev) 448 { 449 struct device *dev = &pdev->dev, *hwmon; 450 int ret; 451 struct device_node *child; 452 struct aspeed_pwm_tach_data *priv; 453 454 priv = devm_kzalloc(dev, sizeof(*priv), GFP_KERNEL); 455 if (!priv) 456 return -ENOMEM; 457 priv->dev = dev; 458 priv->base = devm_platform_ioremap_resource(pdev, 0); 459 if (IS_ERR(priv->base)) 460 return PTR_ERR(priv->base); 461 462 priv->clk = devm_clk_get_enabled(dev, NULL); 463 if (IS_ERR(priv->clk)) 464 return dev_err_probe(dev, PTR_ERR(priv->clk), 465 "Couldn't get clock\n"); 466 priv->clk_rate = clk_get_rate(priv->clk); 467 priv->reset = devm_reset_control_get_exclusive(dev, NULL); 468 if (IS_ERR(priv->reset)) 469 return dev_err_probe(dev, PTR_ERR(priv->reset), 470 "Couldn't get reset control\n"); 471 472 ret = reset_control_deassert(priv->reset); 473 if (ret) 474 return dev_err_probe(dev, ret, 475 "Couldn't deassert reset control\n"); 476 477 priv->chip.dev = dev; 478 priv->chip.ops = &aspeed_pwm_ops; 479 priv->chip.npwm = PWM_ASPEED_NR_PWMS; 480 481 ret = devm_pwmchip_add(dev, &priv->chip); 482 if (ret < 0) { 483 reset_control_assert(priv->reset); 484 return dev_err_probe(dev, ret, "Failed to add PWM chip\n"); 485 } 486 487 for_each_child_of_node(dev->of_node, child) { 488 ret = aspeed_tach_create_fan(dev, child, priv); 489 if (ret < 0) { 490 of_node_put(child); 491 dev_warn(dev, "Failed to create fan %d", ret); 492 return 0; 493 } 494 } 495 > 496 of_platform_populate(dev->of_node, NULL, NULL, dev); 497 498 hwmon = devm_hwmon_device_register_with_info(dev, "aspeed_tach", priv, 499 &aspeed_tach_chip_info, NULL); 500 ret = PTR_ERR_OR_ZERO(hwmon); 501 if (ret) { 502 reset_control_assert(priv->reset); 503 return dev_err_probe(dev, ret, 504 "Failed to register hwmon device\n"); 505 } 506 507 return 0; 508 } 509 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel