Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp2062302rdh; Sat, 25 Nov 2023 12:01:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IHe+nE3yyEmhJ06f2aTnELmGJbu5gNzUdnoWmOagBx2UIDu0UKTrFzfwe2kfe4IuoV/c0Zy X-Received: by 2002:a05:6a21:32a9:b0:18b:ec92:5aa5 with SMTP id yt41-20020a056a2132a900b0018bec925aa5mr6146857pzb.23.1700942478332; Sat, 25 Nov 2023 12:01:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700942478; cv=none; d=google.com; s=arc-20160816; b=aQrSD4k4fCQAOlGo/t83UJUAx11JJPh7TC8w027zynEyLaQt836/Ac2ZDiYhoD7EFt DJll1yzgmI5U7jz5c3klIouX4W5TdnNXBpcLduJT/nYWfyOM+gUK+fIYrfUx+3PRVcMr 3jRFos1FkHKEryazeQ2zuoI5t1hMPS+ZNlqiHug4DXyaRIUUQK+erWyQ+z9OC+gpe2OP WaftSbs1MiY5HF4yBOdMIZw5jj11poxSY4S94HvhMJh3VWcvUJZwSH4ZjNLH4qn9LWEI Qjhb/R3Xo+5txGKCpEKrxTd4b/RDuqwfJV7CkhzjoVQe9PUEw2SCyK46LM78mLWdR0bK mZrg== 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=VDzG7MUniswqCAnub+wqnAUFqNyH02rNHozm0dM0Kr4=; fh=+dqAPJsVt/SzsXlLuFP7GvuY5wt5zBgnGkfaZSj/w+s=; b=fFDdhd5qDZSQ02rjsxS10ltJqPk8G+IXZjh6lETeUQwGQ/LLDP1ZLkgBi5D9zdkzIF GFhzk9IVeeHCj7q9W/IdV1ToWYmA0Zupe7qadkTjrQUe0gPP2+I/Bj6WHnv6pGgq+GBc PoAPNIfSbiASOs2dljJQig9ycLAWGnpVx/2Aa4qNBhLyMhy576U9+GtFqTlUgq7DTfVh 3TvLmzN5DrJdADBJKFF02Zw8UvkF0gywVW5+RdeNGqSvf4qT1ergXZ/yFVIlUambA49Y Es9vraeI3iQPC4pMHJBIW2eEDD6FKzRSNOCFZtK5wLahVEA0psXrjqvIk62Q1gmGrJfl fMFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AsrbbsiN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id o12-20020a170902d4cc00b001cfc0272b48si692527plg.103.2023.11.25.12.01.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 12:01:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=AsrbbsiN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 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 howler.vger.email (Postfix) with ESMTP id 0AA9D801DDB6; Sat, 25 Nov 2023 12:01:07 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229675AbjKYUAp (ORCPT + 99 others); Sat, 25 Nov 2023 15:00:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60182 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229505AbjKYUAn (ORCPT ); Sat, 25 Nov 2023 15:00:43 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 10BEFDB; Sat, 25 Nov 2023 12:00:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700942450; x=1732478450; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=pBwkxZKKmc1jzdpGVqMyMI3A8HSNgPT6E/hBVhjViao=; b=AsrbbsiNs9056WXTIpH60Nnzotg8cdmcYkarLZQyz5zFnK2T4ULYGSo7 c8GIlWz9HB9ldyZnMko1Nqc1qjJ8JiuYvu9Guf1IDOWCgqi3Rm7IyRPZw 6HDEfT2jDGLK8b/BiJ49FTb0jXUpw8rs1G4G5S17Md47VzaUCPwORyc7v 9pmoc0CLcKwJT2PeyAOC8EosGGyccaN/kW7AM1L5YCqQvju9LTqNVx7Io SLcVFiZFMqrVdQr+VWJVwglUP5ExJOzoIrhz7NE43Y/0AAfSN9dGcZ48X b0qHuZIstaHFaaBDAFLsa40GrsKZMz+emZBpfr/TvCywb92cqPu5s7KGK A==; X-IronPort-AV: E=McAfee;i="6600,9927,10905"; a="391398650" X-IronPort-AV: E=Sophos;i="6.04,227,1695711600"; d="scan'208";a="391398650" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Nov 2023 12:00:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10905"; a="891332351" X-IronPort-AV: E=Sophos;i="6.04,227,1695711600"; d="scan'208";a="891332351" Received: from lkp-server01.sh.intel.com (HELO d584ee6ebdcc) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 25 Nov 2023 12:00:46 -0800 Received: from kbuild by d584ee6ebdcc with local (Exim 4.96) (envelope-from ) id 1r6ypX-0004MY-2K; Sat, 25 Nov 2023 20:00:43 +0000 Date: Sun, 26 Nov 2023 04:00:24 +0800 From: kernel test robot To: Andreas Kemnade , lee@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, bcousson@baylibre.com, tony@atomide.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH 2/6] twl-core: add power off implementation for twl603x Message-ID: <202311260213.vq3gMAgF-lkp@intel.com> References: <20231125092938.16535-3-andreas@kemnade.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231125092938.16535-3-andreas@kemnade.info> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Sat, 25 Nov 2023 12:01:07 -0800 (PST) Hi Andreas, kernel test robot noticed the following build warnings: [auto build test WARNING on robh/for-next] [also build test WARNING on lee-mfd/for-mfd-next linus/master v6.7-rc2 next-20231124] [cannot apply to tmlind-omap/for-next lee-mfd/for-mfd-fixes] [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/Andreas-Kemnade/dt-bindings-mfd-ti-twl-Document-system-power-controller/20231125-173426 base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next patch link: https://lore.kernel.org/r/20231125092938.16535-3-andreas%40kemnade.info patch subject: [PATCH 2/6] twl-core: add power off implementation for twl603x config: x86_64-allyesconfig (https://download.01.org/0day-ci/archive/20231126/202311260213.vq3gMAgF-lkp@intel.com/config) compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231126/202311260213.vq3gMAgF-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/202311260213.vq3gMAgF-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/mfd/twl-core.c:690:6: warning: no previous prototype for function 'twl6030_power_off' [-Wmissing-prototypes] void twl6030_power_off(void) ^ drivers/mfd/twl-core.c:690:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void twl6030_power_off(void) ^ static 1 warning generated. vim +/twl6030_power_off +690 drivers/mfd/twl-core.c 689 > 690 void twl6030_power_off(void) 691 { 692 #define APP_DEVOFF (1<<0) 693 #define CON_DEVOFF (1<<1) 694 #define MOD_DEVOFF (1<<2) 695 696 int err; 697 u8 val; 698 699 err = twl_i2c_read_u8(TWL_MODULE_PM_MASTER, &val, 700 TWL6030_PHOENIX_DEV_ON); 701 if (err) { 702 pr_err("I2C error %d reading PHOENIX_DEV_ON\n", err); 703 return; 704 } 705 706 val |= APP_DEVOFF | CON_DEVOFF | MOD_DEVOFF; 707 708 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, val, 709 TWL6030_PHOENIX_DEV_ON); 710 if (err) 711 pr_err("TWL6030 Unable to power off\n"); 712 } 713 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki