Received: by 2002:a05:7412:361b:b0:f9:2edb:3e4d with SMTP id ie27csp62699rdb; Sun, 17 Dec 2023 14:48:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgeA1zPUcSqCSicP3LHbiwhhiCa4o8+g/8UZLvfiArJ24OvsokIvq+p6nmDfUeRoIPhyQA X-Received: by 2002:a17:90a:34c5:b0:28b:5060:c93a with SMTP id m5-20020a17090a34c500b0028b5060c93amr3076396pjf.2.1702853289917; Sun, 17 Dec 2023 14:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702853289; cv=none; d=google.com; s=arc-20160816; b=w3aNCraZoV9+ppwpRCkp8Rjmv8dT32yJzHIvtbThdwT3Tkc5YzNDz7bu5iptVpPJS+ oP0p/ALuPY9IRRVn4st7FMCorZNMHyi5r+JsMLLR2uhxOG1DwnfFglTDk3LLf6nrJ1N3 P7ctELH2U5O3FjhAKHcIhg2Rk7jVh3E34WhL2AYsC4K2yJcY7ZlbSH8r6Xl+IdaEcQGC rNpcmPpnrw7H4F0d31sui/l0VXArmEiMpuVA+7JNevHPdxAw681V8lYkjNfPzcgPatEG tGBtK6rF9mO9Z9un29OcVERGyuF6IwdTlg6rgjtxXvNUhcHFS17pt7aKl42QKNB0Yr6S GAJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RF1jpcA8Ews8sy6QyOFfGobp+qhLckeLJHdNaKfdQuQ=; fh=H6P1oZOb4zc48hVr/0vmjkA7ayKLQAvPFUG3bJUNT2A=; b=YVk7zA+0/4A+9EBzVfZTk9ruOLD+kA0KIMBVQnLte3Qs2J7NiJs+scjUd2WTIJmZGi 8TcUMHnVevC6jGbZpt1Aaco36z8BD503Uz7n5BGiF8TsCO/J3+bm1FYc93MKJIUQDDZn ym8sGQF5M7p2vWlPAAWvY7gFsjgbLfG+zmK9W5R+AKrjmmwU3YKCoX/9KCBzRYxlJMM5 epJwZDECbjwhQLa8PU58a7x8dzkKRj32eX7L2opGMufriw8eYlzNixRPVZWBoxtDlE1o 55IKSgBaO4GjLDuX3mMFRWTJ7W1HKPs4x1tHrAESW+/tRnEjYZf2P6JEJHrqFKU5Yfpz 3+Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nkXb2VYv; spf=pass (google.com: domain of linux-kernel+bounces-2856-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2856-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id pf1-20020a17090b1d8100b0028b2a3f210esi5291729pjb.20.2023.12.17.14.48.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 14:48:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2856-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=nkXb2VYv; spf=pass (google.com: domain of linux-kernel+bounces-2856-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2856-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 8ECFB282B00 for ; Sun, 17 Dec 2023 22:48:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 881F249F86; Sun, 17 Dec 2023 22:48:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="nkXb2VYv" X-Original-To: linux-kernel@vger.kernel.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7490F4B123; Sun, 17 Dec 2023 22:47:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1702853280; x=1734389280; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=dDK21WhxmK46apj+aDS2uGaxysiciuckJMISoafo2u8=; b=nkXb2VYv1vNxUNRKWRxVCztbyXYeCCTzyXCjW/M64sW1Pdc4WN1w/oNU N+jZjYYY0PZjN7w3HQT2uAZViGHjP0X/1mQwl7LITHiV8at4CQicIHCdd slae2+oqsQjrl4WqcUUS6IYpjSkoX8S4HEhFEhHZEee25q9XnpFIP/U/H Y5QfB639zp+H6VL7PCSKO2bdRLZMfBnccPPgmZLYK4Mb/LTfNfEbEsSo/ a28SvYHTYsmNn+FjIs1alQqEfDJ4ZxeaTvC5/1ayuPQqfAnGswnOOEVz7 9poVyXnFEtzEa4gosFsfrMcWVpzmFeJY2cp0jcjvV9ryHExaVEHKWdFBs w==; X-IronPort-AV: E=McAfee;i="6600,9927,10927"; a="8792016" X-IronPort-AV: E=Sophos;i="6.04,284,1695711600"; d="scan'208";a="8792016" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2023 14:47:59 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10927"; a="1022558489" X-IronPort-AV: E=Sophos;i="6.04,284,1695711600"; d="scan'208";a="1022558489" Received: from lkp-server02.sh.intel.com (HELO b07ab15da5fe) ([10.239.97.151]) by fmsmga006.fm.intel.com with ESMTP; 17 Dec 2023 14:47:54 -0800 Received: from kbuild by b07ab15da5fe with local (Exim 4.96) (envelope-from ) id 1rEzvL-0003UK-2j; Sun, 17 Dec 2023 22:47:51 +0000 Date: Mon, 18 Dec 2023 06:47:39 +0800 From: kernel test robot To: Jingbao Qiu , a.zummo@towertech.it, alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor@kernel.org, conor+dt@kernel.org, chao.wei@sophgo.com, unicorn_wang@outlook.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: oe-kbuild-all@lists.linux.dev, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dlan@gentoo.org, Jingbao Qiu Subject: Re: [PATCH v2 2/3] rtc: sophgo: add rtc support for Sophgo CV1800 SoC Message-ID: <202312180655.uM6zOZlv-lkp@intel.com> References: <20231217110952.78784-3-qiujingbao.dlmu@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231217110952.78784-3-qiujingbao.dlmu@gmail.com> Hi Jingbao, kernel test robot noticed the following build errors: [auto build test ERROR on abelloni/rtc-next] [also build test ERROR on robh/for-next linus/master v6.7-rc5 next-20231215] [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/Jingbao-Qiu/dt-bindings-rtc-sophgo-add-RTC-support-for-Sophgo-CV1800-series-SoC/20231217-191123 base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next patch link: https://lore.kernel.org/r/20231217110952.78784-3-qiujingbao.dlmu%40gmail.com patch subject: [PATCH v2 2/3] rtc: sophgo: add rtc support for Sophgo CV1800 SoC config: sparc-allmodconfig (https://download.01.org/0day-ci/archive/20231218/202312180655.uM6zOZlv-lkp@intel.com/config) compiler: sparc64-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231218/202312180655.uM6zOZlv-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/202312180655.uM6zOZlv-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/rtc/rtc-cv1800.c: In function 'cv1800_rtc_alarm_irq_enable': >> drivers/rtc/rtc-cv1800.c:89:17: error: implicit declaration of function 'writel' [-Werror=implicit-function-declaration] 89 | writel(REG_ENABLE_FUN, info->base_data + ALARM_ENABLE); | ^~~~~~ drivers/rtc/rtc-cv1800.c: In function 'cv1800_rtc_set_alarm': >> drivers/rtc/rtc-cv1800.c:113:9: error: implicit declaration of function 'readl' [-Werror=implicit-function-declaration] 113 | readl(info->base_data + SEC_CNTR_VAL); | ^~~~~ cc1: some warnings being treated as errors vim +/writel +89 drivers/rtc/rtc-cv1800.c 83 84 static int cv1800_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) 85 { 86 struct cv1800_priv *info = dev_get_drvdata(dev); 87 88 if (enabled) > 89 writel(REG_ENABLE_FUN, info->base_data + ALARM_ENABLE); 90 else 91 writel(REG_DISABLE_FUN, info->base_data + ALARM_ENABLE); 92 93 return 0; 94 } 95 96 static int cv1800_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) 97 { 98 struct cv1800_priv *info = dev_get_drvdata(dev); 99 unsigned long alarm_time; 100 101 alarm_time = rtc_tm_to_time64(&alrm->time); 102 103 if (alarm_time > SEC_MAX_VAL) 104 return -EINVAL; 105 106 writel(REG_DISABLE_FUN, info->base_data + ALARM_ENABLE); 107 108 udelay(DEALY_TIME_PREPARE); 109 110 writel(alarm_time, info->base_data + ALARM_TIME); 111 writel(REG_ENABLE_FUN, info->base_data + ALARM_ENABLE); 112 > 113 readl(info->base_data + SEC_CNTR_VAL); 114 115 return 0; 116 } 117 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki