Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2521808rdb; Wed, 21 Feb 2024 10:04:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWKln74x3Q8tIiYYDMxn8K+XMfQ/r/zmVfdUmeCc+o/sJdxz6Ya2OeWRTSbJeuFMMO52FUkvgC+Tl0uEviVGErDZRfhFvTnM0bGFq+s/g== X-Google-Smtp-Source: AGHT+IFTPwWV6zah2Ccl2IW4eaDDgINe4jracSbH9zIdjM8f6AZuzXw2TD+qfbyrj6MIoTqzDCno X-Received: by 2002:a05:6e02:1c8a:b0:365:2624:30b0 with SMTP id w10-20020a056e021c8a00b00365262430b0mr13908100ill.24.1708538691356; Wed, 21 Feb 2024 10:04:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708538691; cv=pass; d=google.com; s=arc-20160816; b=P63YE5QM5fz9VO3hiT4W1RqPAaiiFuE40YCMhQWhOTKPDtq9QURYOFXQ1I4NSg7RtB Y5ZYG0Ynw7GttJWc4cuwk29A7PjkgM1MqtYIp7YQc3HXpaKztxUgM12pnq9qz/QEmgfk m9eoSz+WTtJ20i/SifxsvefDMGp90vMpXSo3flv/xy3jdmdPLttMVyY+KG60fN0NnL68 Pb4Ph7A2s3Eu6KVtRnx6/0W/EV0lXyuUjz33AeNSe6ACRHoa9Fm2XkjpfB2DsEsX47/Y UZcKBj299RznDkIuaGdr8Vtoz+PhsuWRgS5YTGFe40CmIPLh4yyA97428cHXkSrFUoEN +CJw== ARC-Message-Signature: i=2; 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=65aoXyM73n+Fuxsx4cl2mUhzzydUVDo5EJRjuh2RElk=; fh=bxAMcee66iKGCY6+WpSL+vVbxFxdlATl+P9knkFjbxc=; b=lD8VJVvYel3lLCju5BuDcYukbvXjEPLWmxB7a6lo0Q7RNp7pwR+VooPvZCVWBSHlh0 1pIGuZk+4cJo6zeYhEl/wu4wiz6LJRmlAOs+Vxk+uS0IkaE5oytuzDBZBki3VOUhcDJJ GMe9NjZbWgVzV6f5sQk8sIehgbcJM7bRqG2tPKCVUyiY+0dScdjxIb+WsraMmh9Akkir l9EgslUKm1wmQNQmaDyx77jJPY5AT/rBK8m/sMfmszmEY9PzO17y85S2ITqwhPDUXwyo 8S+JsYQeLuMyjokBDMyTGG2aLAZ0xs+mzQzY44Ty6f41TBwyypXYeGeiGocNdTvwrffD ZVBQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cQt+VtgO; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-75245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75245-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. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p18-20020a056e0206d200b0036393853341si3834579ils.153.2024.02.21.10.04.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 10:04:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-75245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=cQt+VtgO; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel+bounces-75245-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-75245-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 129A6285331 for ; Wed, 21 Feb 2024 18:04:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A493285274; Wed, 21 Feb 2024 18:04:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="cQt+VtgO" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.13]) (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 AFAF184FAD; Wed, 21 Feb 2024 18:04:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708538683; cv=none; b=XfVkWY6JCBMIqDOhTe0Kmzo8G9PfiYd3BjRjK5Sx0DQKMIw4QcLriEwMOpGcyGB8KpOpvex+VjkS+V8l0txaMyKXv+m0yWKvM7USA1O8dqOhOwrx4TDjYLUtUiVU7F5LUvMgY7Y8U1Fp/d8TLt33tMIyuyJ/NoFY7nJp1nOpl5k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708538683; c=relaxed/simple; bh=N3hyQeCD6IQBf8tWP+/hKiWNxUyx+FYv+Qik7aMVPn8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=RfVru2FI34IFWdF1gnKooEWaYgGHXIGXUV9TJ5W3heK2enSNcKFxXf2wxdLM1IEtuEgMstOrAOm3ChbLhRh7iIADikiq9gZumjXIyYXmPl6aHtvrxtPYp4LRBpWb/zQKPm6ptrcZoIbYBVNq8awPBMoBcoh2vSu9atrcAZB2cts= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=cQt+VtgO; arc=none smtp.client-ip=198.175.65.13 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=1708538682; x=1740074682; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=N3hyQeCD6IQBf8tWP+/hKiWNxUyx+FYv+Qik7aMVPn8=; b=cQt+VtgOuFecBhjBLeA3z/jGGPVXZmbLde5sBJSHaaT2GciMMyexjCB+ QE5hqZ0mXZfuY5jJ5hX3kVqkKDPG5oDLbC7D4fMdEbYoQD1aVQFgFg7hs DUdWpdmFO9MS+0/U+UInzOc72wArD2Uzzflq3ol1aU8PSrg5PBDMxFbTr /AEePP6XLzsvzPLvTlnUkIYeyZhd6Sh14OZqqd5V59sb/j4pWMOnvsmw6 HEkoR2D4f9xcFAbDNb4A1kcb7MpsmTEZzStaSmvaCcube+GAVUuk4TKnx UHcmpVVROOrPNxJ8sZiQYcK/IXe7BHNQbdYlnxTENJSByCTh6+FDfRN0s Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10991"; a="13845918" X-IronPort-AV: E=Sophos;i="6.06,176,1705392000"; d="scan'208";a="13845918" Received: from fmviesa006.fm.intel.com ([10.60.135.146]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2024 10:04:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,176,1705392000"; d="scan'208";a="5420455" Received: from lkp-server02.sh.intel.com (HELO 3c78fa4d504c) ([10.239.97.151]) by fmviesa006.fm.intel.com with ESMTP; 21 Feb 2024 10:04:29 -0800 Received: from kbuild by 3c78fa4d504c with local (Exim 4.96) (envelope-from ) id 1rcqwz-0005ZM-24; Wed, 21 Feb 2024 18:04:26 +0000 Date: Thu, 22 Feb 2024 02:04:02 +0800 From: kernel test robot To: Chris Packham , antoniu.miclaus@analog.com, alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, jdelvare@suse.com, linux@roeck-us.net Cc: oe-kbuild-all@lists.linux.dev, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, Ibrahim Tilki , Zeynep Arslanbenzer , Chris Packham Subject: Re: [PATCH v7 1/2] drivers: rtc: add max313xx series rtc driver Message-ID: <202402220139.EmXyZO4Q-lkp@intel.com> References: <20240219221827.3821415-2-chris.packham@alliedtelesis.co.nz> 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: <20240219221827.3821415-2-chris.packham@alliedtelesis.co.nz> Hi Chris, kernel test robot noticed the following build warnings: [auto build test WARNING on abelloni/rtc-next] [also build test WARNING on linus/master v6.8-rc5 next-20240221] [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/Chris-Packham/drivers-rtc-add-max313xx-series-rtc-driver/20240220-062057 base: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git rtc-next patch link: https://lore.kernel.org/r/20240219221827.3821415-2-chris.packham%40alliedtelesis.co.nz patch subject: [PATCH v7 1/2] drivers: rtc: add max313xx series rtc driver config: x86_64-randconfig-123-20240220 (https://download.01.org/0day-ci/archive/20240222/202402220139.EmXyZO4Q-lkp@intel.com/config) compiler: gcc-12 (Debian 12.2.0-14) 12.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240222/202402220139.EmXyZO4Q-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/202402220139.EmXyZO4Q-lkp@intel.com/ sparse warnings: (new ones prefixed by >>) >> drivers/rtc/rtc-max31335.c:727:22: sparse: sparse: symbol 'max313xx_clk_init' was not declared. Should it be static? >> drivers/rtc/rtc-max31335.c:750:21: sparse: sparse: symbol 'max313xx_nvmem_cfg' was not declared. Should it be static? vim +/max313xx_clk_init +727 drivers/rtc/rtc-max31335.c 726 > 727 struct clk_init_data max313xx_clk_init = { 728 .name = "max313xx-clkout", 729 .ops = &max313xx_clkout_ops, 730 }; 731 732 static int max313xx_nvmem_reg_read(void *priv, unsigned int offset, 733 void *val, size_t bytes) 734 { 735 struct max313xx *rtc = priv; 736 unsigned int reg = rtc->chip->ram_reg + offset; 737 738 return regmap_bulk_read(rtc->regmap, reg, val, bytes); 739 } 740 741 static int max313xx_nvmem_reg_write(void *priv, unsigned int offset, 742 void *val, size_t bytes) 743 { 744 struct max313xx *rtc = priv; 745 unsigned int reg = rtc->chip->ram_reg + offset; 746 747 return regmap_bulk_write(rtc->regmap, reg, val, bytes); 748 } 749 > 750 struct nvmem_config max313xx_nvmem_cfg = { 751 .reg_read = max313xx_nvmem_reg_read, 752 .reg_write = max313xx_nvmem_reg_write, 753 .word_size = 8, 754 }; 755 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki