Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp571075rdf; Tue, 21 Nov 2023 10:01:08 -0800 (PST) X-Google-Smtp-Source: AGHT+IEVJj0yPNdyrgJjMgzr7FxtDb1MNzHATpfpFwgi16gzNnUfp1lBvgBuX5Ff7fhdpicCRRsR X-Received: by 2002:a05:6808:1183:b0:3b6:cbd1:beda with SMTP id j3-20020a056808118300b003b6cbd1bedamr8423oil.39.1700589667806; Tue, 21 Nov 2023 10:01:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700589667; cv=none; d=google.com; s=arc-20160816; b=HkTjWpbL6sWbqTip3ya9F/TsVkSS91jz9i/JyRGS2xxfjFQb0w1WuHYhLoEEPy/Atc Bphr7R8TV+Or8fYtYxPrEpchGrCHu63oqzCrmYW5MEP2Ewd3mdmeG0bbORh/lzo3eUuv 0uxzRsDxido18R3amMDvg9mkGAsShrM4GToJWCEnfjVDoQq/QkoUOJ8iu7qD1JqII3AR CboI+k8mQ1XxiJ3FeLrBZveYJznxX011tMEncFQsioam6S4dPrcbn7+u3oIxyfX4yuoE rJeZfKjrSUKLfSOWdMjBkBAqHNLCCWBPsjnQuMc5CP61Nl5SUhku+q63K9OO6JzIw/Mj 7wDw== 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=0/9PWNBAVGOGpNrg61ThjqlH4kyRyhBbEVdBvl9OMfE=; fh=ky6C9n4OHla4SL27iikK2su1NbNY9Nz37DE0sZbVCZ8=; b=nGqSrO/gMDgb/5W0/KxkN8va5bBg7EWDrwiIrjDAFl072D6f1fY35vEeRIbzlf9J5G 9pB4Gu8jyWeDSZLKpUDl0Xa6anHNF0NP9ehe9knJ1dfClKnms6+5NpY7IwBxAeWgyuLN 4n5goeiRmBRZjXjqeUpBB4M9efKFeuxrqw1d8EefJMN7rL+8W8qpsI4FkG90GMEEPX3l WOCKL61wabfRciyRgiIhEvLOujVmQn+lvEgDmsvgA0BVq4Z1LQIIqyTyGnmUDUC+nw12 Ler8MaduQvmNl+XZmW4jK0SIo8+sIQ/rNdfq+18ZQ7PQXJN4m1Lin+g1dDPoNS9vhEjq pOOA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aXPgOJI0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id j16-20020a056808035000b003a4125a7f0fsi3639272oie.225.2023.11.21.10.01.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 10:01:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=aXPgOJI0; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 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 lipwig.vger.email (Postfix) with ESMTP id 15166807D0E6; Tue, 21 Nov 2023 10:00:17 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233573AbjKUSAE (ORCPT + 99 others); Tue, 21 Nov 2023 13:00:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231163AbjKUSAC (ORCPT ); Tue, 21 Nov 2023 13:00:02 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.88]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C3392197; Tue, 21 Nov 2023 09:59:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1700589598; x=1732125598; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=HajNcANzS8KHjONWzavIj/4wpkVTaBzXzzIAQEqc5MU=; b=aXPgOJI0oC7xUaDkTkvb2wElPOfZPZkKJT1NXRRaIAEYXsv9wW9PVEQF 8npqSnSWtFmOSgwzH2KhaNHEQ1U/T4Ix2MMC3zid/hwskNjU1iPI9S3k0 s5N0zXj2oKu9R8WqfM89VCwBJyKuILvWshECuE8yOCCU1asLxUhwECszm u7zwhMhP8z662Ad/J7cpEN1X041aQbTF583B3g0L9brJ2B/1vD9jauCJZ FQ6GWz45L7ijePon+X5DWjD/0MuywUqo7lcGrnEjLPfgHLsnx2YMADLL+ fgO2gHpMoijDfincr7srDxydyzlsbbMS+CBf0rXrQmG080eQdUzq4Av9p A==; X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="422990035" X-IronPort-AV: E=Sophos;i="6.04,216,1695711600"; d="scan'208";a="422990035" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Nov 2023 09:59:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10901"; a="760171994" X-IronPort-AV: E=Sophos;i="6.04,216,1695711600"; d="scan'208";a="760171994" Received: from lkp-server02.sh.intel.com (HELO b8de5498638e) ([10.239.97.151]) by orsmga007.jf.intel.com with ESMTP; 21 Nov 2023 09:59:53 -0800 Received: from kbuild by b8de5498638e with local (Exim 4.96) (envelope-from ) id 1r5V2E-00086K-00; Tue, 21 Nov 2023 17:59:45 +0000 Date: Wed, 22 Nov 2023 01:58:12 +0800 From: kernel test robot To: Jingbao Qiu , a.zummo@towertech.it, alexandre.belloni@bootlin.com, krzysztof.kozlowski+dt@linaro.org, chao.wei@sophgo.com, unicorn_wang@outlook.com, conor+dt@kernel.org, robh+dt@kernel.org, conor@kernel.org, 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, Jingbao Qiu Subject: Re: [PATCH 2/3] rtc: add rtc controller support for Sophgo CV1800B SoC Message-ID: <202311220129.aOYelwJQ-lkp@intel.com> References: <20231121094642.2973795-3-qiujingbao.dlmu@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231121094642.2973795-3-qiujingbao.dlmu@gmail.com> 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 21 Nov 2023 10:00:17 -0800 (PST) Hi Jingbao, kernel test robot noticed the following build errors: [auto build test ERROR on abelloni/rtc-next] [also build test ERROR on linus/master v6.7-rc2 next-20231121] [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-add-binding-for-Sophgo-CV1800B-rtc-controller/20231121-174927 base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next patch link: https://lore.kernel.org/r/20231121094642.2973795-3-qiujingbao.dlmu%40gmail.com patch subject: [PATCH 2/3] rtc: add rtc controller support for Sophgo CV1800B SoC config: parisc-allmodconfig (https://download.01.org/0day-ci/archive/20231122/202311220129.aOYelwJQ-lkp@intel.com/config) compiler: hppa-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231122/202311220129.aOYelwJQ-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/202311220129.aOYelwJQ-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/rtc/rtc-cv1800b.c: In function 'cv1800b_rtc_probe': >> drivers/rtc/rtc-cv1800b.c:246:16: error: implicit declaration of function 'rtc_register_device'; did you mean 'devm_rtc_register_device'? [-Werror=implicit-function-declaration] 246 | return rtc_register_device(rtc->rtc_dev); | ^~~~~~~~~~~~~~~~~~~ | devm_rtc_register_device cc1: some warnings being treated as errors vim +246 drivers/rtc/rtc-cv1800b.c 189 190 static int cv1800b_rtc_probe(struct platform_device *pdev) 191 { 192 struct cv1800b_rtc_priv *rtc; 193 struct resource *res; 194 int ret; 195 196 rtc = devm_kzalloc(&pdev->dev, sizeof(*rtc), GFP_KERNEL); 197 if (!rtc) 198 return -ENOMEM; 199 200 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); 201 if (!res) { 202 ret = -ENODEV; 203 goto err; 204 } 205 206 rtc->core_map = devm_ioremap_resource(&pdev->dev, res); 207 if (IS_ERR(rtc->core_map)) { 208 ret = PTR_ERR(rtc->core_map); 209 goto err; 210 } 211 212 rtc->irq = platform_get_irq(pdev, 0); 213 platform_set_drvdata(pdev, rtc); 214 if (rtc->irq < 0) { 215 ret = -EINVAL; 216 goto err; 217 } 218 219 ret = 220 devm_request_irq(&pdev->dev, rtc->irq, cv1800b_rtc_irq_handler, 221 IRQF_SHARED, "rtc alarm", &pdev->dev); 222 if (ret) 223 goto err; 224 225 rtc->clk = devm_clk_get(&pdev->dev, NULL); 226 if (IS_ERR(rtc->clk)) { 227 dev_err(&pdev->dev, "no clock"); 228 ret = PTR_ERR(rtc->clk); 229 goto err; 230 } 231 ret = clk_prepare_enable(rtc->clk); 232 if (ret) 233 goto err; 234 ret = cv1800b_rtc_softinit(rtc); 235 if (ret) 236 goto err; 237 cv1800b_rtc_alarm_irq_enable(&pdev->dev, 1); 238 rtc->rtc_dev = devm_rtc_allocate_device(&pdev->dev); 239 if (IS_ERR(rtc->rtc_dev)) { 240 ret = PTR_ERR(rtc->rtc_dev); 241 goto err; 242 } 243 rtc->rtc_dev->range_max = U32_MAX; 244 rtc->rtc_dev->ops = &cv800b_rtc_ops; 245 > 246 return rtc_register_device(rtc->rtc_dev); 247 err: 248 return dev_err_probe(&pdev->dev, ret, "Failed to init cv1800b rtc\n"); 249 } 250 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki