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 0BF18C3DA66 for ; Fri, 18 Aug 2023 01:25:45 +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=RNaqbe7o8dyY4J2ZLj900s//zON18XySCGQrabu1ae0=; b=oBEE2jTsTG2EUs +gDS/UGHvFyg8BcyZmLd9I4pugM84w+IGcfN85WlQ40Q3jsA60rzuxP665Wis30JABYY5Bxnn4Tt9 XczutuzNw0HX32+M9bx0vxv6Gk94vTfeIukTq2vYj9enMPeXKX13FLlVBvdcUuWQat0ewWojzzHCy 71l3IzClS9kqfukTXtpAJHosYotHg73dRP2fXv6OjfUcgL//ldxwy/Olj7+KwjqMT4UPpW5yCp0Vb MWRkQ8gIzALMpRFdnDu5lDnY9qZVSKb7K0DLtZb6TfRkeTiCzN+17DJ+w97MW6PdzD+Op9oQ/OPsw 4QQgyaoAqyXp678omdgA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qWoEo-007Tal-25; Fri, 18 Aug 2023 01:25:18 +0000 Received: from mgamail.intel.com ([192.55.52.43]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qWoEg-007TXo-2Y for linux-arm-kernel@lists.infradead.org; Fri, 18 Aug 2023 01:25:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1692321910; x=1723857910; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+8E+SlOMdmHXrq7jkOnhzVbu0oqWUbim62T8xG6hOzs=; b=KBD4kKNTbANP/DDanBfespzSx04Pf0UJQRy19CHl3MN+KyTqDaxE901e 3H3VLRgaBE+gSqdH2PewFDgJNlMmUWVUgJt78DHE4RoyUdfuJDGDZZOEO uMXo536y3kWW+Ak3Mih1FQi4lIIhAW/b92AkShSFlmRMUVA+UphVRGM3J /jCxzjmbTMR8EnMHctzUizctZoJwzHzwNsVChweOiwk4ZKxRSkDFS8kGW oaGluAu3FpydaiMyPaGKnQK8FvDVkywn+TdNx2cWhTzJBgTvVKUhZvgaR D7t/lditk6FOe0CO+N+wYHn06oMRrD+LopLV6jEF1FOygOQuxoINDnq6j Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10805"; a="459337073" X-IronPort-AV: E=Sophos;i="6.01,181,1684825200"; d="scan'208";a="459337073" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Aug 2023 18:25:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10805"; a="769918940" X-IronPort-AV: E=Sophos;i="6.01,181,1684825200"; d="scan'208";a="769918940" Received: from lkp-server02.sh.intel.com (HELO a9caf1a0cf30) ([10.239.97.151]) by orsmga001.jf.intel.com with ESMTP; 17 Aug 2023 18:25:03 -0700 Received: from kbuild by a9caf1a0cf30 with local (Exim 4.96) (envelope-from ) id 1qWoEY-0001ah-0S; Fri, 18 Aug 2023 01:25:02 +0000 Date: Fri, 18 Aug 2023 09:24:08 +0800 From: kernel test robot To: Billy Tsai , jdelvare@suse.com, linux@roeck-us.net, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, joel@jms.id.au, andrew@aj.id.au, corbet@lwn.net, thierry.reding@gmail.com, u.kleine-koenig@pengutronix.de, p.zabel@pengutronix.de, 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 v7 2/2] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach Message-ID: <202308180900.0ecFnDBI-lkp@intel.com> References: <20230817120029.221484-3-billy_tsai@aspeedtech.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230817120029.221484-3-billy_tsai@aspeedtech.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230817_182510_842748_1C9D341F X-CRM114-Status: GOOD ( 13.17 ) 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 warnings: [auto build test WARNING on groeck-staging/hwmon-next] [also build test WARNING on linus/master v6.5-rc6 next-20230817] [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-Support-Aspeed-g6-PWM-TACH-Control/20230817-200427 base: https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-next patch link: https://lore.kernel.org/r/20230817120029.221484-3-billy_tsai%40aspeedtech.com patch subject: [PATCH v7 2/2] hwmon: (aspeed-g6-pwm-tacho): Support for ASPEED g6 PWM/Fan tach config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20230818/202308180900.0ecFnDBI-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce: (https://download.01.org/0day-ci/archive/20230818/202308180900.0ecFnDBI-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/202308180900.0ecFnDBI-lkp@intel.com/ All warnings (new ones prefixed by >>): drivers/hwmon/aspeed-g6-pwm-tach.c: In function 'aspeed_tach_create_fan': >> drivers/hwmon/aspeed-g6-pwm-tach.c:431:13: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 431 | int ret, count; | ^~~ vim +/ret +431 drivers/hwmon/aspeed-g6-pwm-tach.c 426 427 static int aspeed_tach_create_fan(struct device *dev, 428 struct aspeed_pwm_tach_data *priv) 429 { 430 u8 *tach_ch; > 431 int ret, count; 432 433 count = of_property_count_u8_elems(dev->of_node, "aspeed,fan-tach-ch"); 434 if (count < 1) 435 return -EINVAL; 436 tach_ch = devm_kcalloc(dev, count, sizeof(*tach_ch), GFP_KERNEL); 437 if (!tach_ch) 438 return -ENOMEM; 439 ret = of_property_read_u8_array(dev->of_node, "aspeed,fan-tach-ch", 440 tach_ch, count); 441 442 aspeed_present_fan_tach(priv, tach_ch, count); 443 444 return 0; 445 } 446 -- 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