From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.151]) (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 1B82E18C2D for ; Fri, 22 Sep 2023 07:51:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1695369105; x=1726905105; h=date:from:to:cc:subject:message-id:mime-version; bh=xucIYSfmBTFWM8zuk4I/BdP2SE1Kco+rNXtuJntNyfY=; b=crKpycgEjbwVmc4u8uf9KTFKW02+IkXbr+qARZRzJyWQbwisOP/BiTTn Ht/yEINwvaoraveoToTUgHwNjfeDeIHpqxdn6X0U7CFlEb77DY1Ik2Aiv 27JkBW3I+v3sxa+twRtH+lUhQbJcbCRqb4w157fPzRVVxGb2hB2xH59rM cvSM6ecsYI7YV26AS4iEah2aPnKr63PfBfYbwl7wV5qxhA96b+mdD26NH Q+8d2jrD3RkozsZbZcn0XQddMtbrrbIEeHkHOmcGGScscdVH/mge7ejDF h7pmwRbWdd0thnA4DzZYdfysfIEBMg4z7harngE2XCAT2TngJeL/7ROr8 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10840"; a="361021105" X-IronPort-AV: E=Sophos;i="6.03,167,1694761200"; d="scan'208";a="361021105" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Sep 2023 00:51:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10840"; a="747439228" X-IronPort-AV: E=Sophos;i="6.03,167,1694761200"; d="scan'208";a="747439228" Received: from lkp-server02.sh.intel.com (HELO 493f6c7fed5d) ([10.239.97.151]) by orsmga002.jf.intel.com with ESMTP; 22 Sep 2023 00:51:30 -0700 Received: from kbuild by 493f6c7fed5d with local (Exim 4.96) (envelope-from ) id 1qjawh-0000KL-2V; Fri, 22 Sep 2023 07:51:27 +0000 Date: Fri, 22 Sep 2023 15:51:24 +0800 From: kernel test robot To: Patrick Rudolph Cc: oe-kbuild-all@lists.linux.dev, linux-kernel@vger.kernel.org, Linus Walleij , Naresh Solanki Subject: drivers/pinctrl/pinctrl-cy8c95x0.c:168: warning: Function parameter or member 'gpio_reset' not described in 'cy8c95x0_pinctrl' Message-ID: <202309221513.fMQaFYAd-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Patrick, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 27bbf45eae9ca98877a2d52a92a188147cd61b07 commit: 99084881de88ffcd156b03aaeb7d4eb740005e3e pinctrl: cy8c95x0: Add reset support date: 9 weeks ago config: csky-randconfig-r034-20230817 (https://download.01.org/0day-ci/archive/20230922/202309221513.fMQaFYAd-lkp@intel.com/config) compiler: csky-linux-gcc (GCC) 12.3.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230922/202309221513.fMQaFYAd-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/202309221513.fMQaFYAd-lkp@intel.com/ All warnings (new ones prefixed by >>): >> drivers/pinctrl/pinctrl-cy8c95x0.c:168: warning: Function parameter or member 'gpio_reset' not described in 'cy8c95x0_pinctrl' vim +168 drivers/pinctrl/pinctrl-cy8c95x0.c e6cbbe42944de9 Patrick Rudolph 2022-08-16 124 e6cbbe42944de9 Patrick Rudolph 2022-08-16 125 /** e6cbbe42944de9 Patrick Rudolph 2022-08-16 126 * struct cy8c95x0_pinctrl - driver data e6cbbe42944de9 Patrick Rudolph 2022-08-16 127 * @regmap: Device's regmap e6cbbe42944de9 Patrick Rudolph 2022-08-16 128 * @irq_lock: IRQ bus lock e6cbbe42944de9 Patrick Rudolph 2022-08-16 129 * @i2c_lock: Mutex for the device internal mux register e6cbbe42944de9 Patrick Rudolph 2022-08-16 130 * @irq_mask: I/O bits affected by interrupts e6cbbe42944de9 Patrick Rudolph 2022-08-16 131 * @irq_trig_raise: I/O bits affected by raising voltage level e6cbbe42944de9 Patrick Rudolph 2022-08-16 132 * @irq_trig_fall: I/O bits affected by falling voltage level e6cbbe42944de9 Patrick Rudolph 2022-08-16 133 * @irq_trig_low: I/O bits affected by a low voltage level e6cbbe42944de9 Patrick Rudolph 2022-08-16 134 * @irq_trig_high: I/O bits affected by a high voltage level e6cbbe42944de9 Patrick Rudolph 2022-08-16 135 * @push_pull: I/O bits configured as push pull driver e6cbbe42944de9 Patrick Rudolph 2022-08-16 136 * @shiftmask: Mask used to compensate for Gport2 width e6cbbe42944de9 Patrick Rudolph 2022-08-16 137 * @nport: Number of Gports in this chip e6cbbe42944de9 Patrick Rudolph 2022-08-16 138 * @gpio_chip: gpiolib chip e6cbbe42944de9 Patrick Rudolph 2022-08-16 139 * @driver_data: private driver data e6cbbe42944de9 Patrick Rudolph 2022-08-16 140 * @regulator: Pointer to the regulator for the IC e6cbbe42944de9 Patrick Rudolph 2022-08-16 141 * @dev: struct device e6cbbe42944de9 Patrick Rudolph 2022-08-16 142 * @pctldev: pin controller device e6cbbe42944de9 Patrick Rudolph 2022-08-16 143 * @pinctrl_desc: pin controller description e6cbbe42944de9 Patrick Rudolph 2022-08-16 144 * @name: Chip controller name e6cbbe42944de9 Patrick Rudolph 2022-08-16 145 * @tpin: Total number of pins e6cbbe42944de9 Patrick Rudolph 2022-08-16 146 */ e6cbbe42944de9 Patrick Rudolph 2022-08-16 147 struct cy8c95x0_pinctrl { e6cbbe42944de9 Patrick Rudolph 2022-08-16 148 struct regmap *regmap; e6cbbe42944de9 Patrick Rudolph 2022-08-16 149 struct mutex irq_lock; e6cbbe42944de9 Patrick Rudolph 2022-08-16 150 struct mutex i2c_lock; e6cbbe42944de9 Patrick Rudolph 2022-08-16 151 DECLARE_BITMAP(irq_mask, MAX_LINE); e6cbbe42944de9 Patrick Rudolph 2022-08-16 152 DECLARE_BITMAP(irq_trig_raise, MAX_LINE); e6cbbe42944de9 Patrick Rudolph 2022-08-16 153 DECLARE_BITMAP(irq_trig_fall, MAX_LINE); e6cbbe42944de9 Patrick Rudolph 2022-08-16 154 DECLARE_BITMAP(irq_trig_low, MAX_LINE); e6cbbe42944de9 Patrick Rudolph 2022-08-16 155 DECLARE_BITMAP(irq_trig_high, MAX_LINE); e6cbbe42944de9 Patrick Rudolph 2022-08-16 156 DECLARE_BITMAP(push_pull, MAX_LINE); e6cbbe42944de9 Patrick Rudolph 2022-08-16 157 DECLARE_BITMAP(shiftmask, MAX_LINE); e6cbbe42944de9 Patrick Rudolph 2022-08-16 158 int nport; e6cbbe42944de9 Patrick Rudolph 2022-08-16 159 struct gpio_chip gpio_chip; e6cbbe42944de9 Patrick Rudolph 2022-08-16 160 unsigned long driver_data; e6cbbe42944de9 Patrick Rudolph 2022-08-16 161 struct regulator *regulator; e6cbbe42944de9 Patrick Rudolph 2022-08-16 162 struct device *dev; e6cbbe42944de9 Patrick Rudolph 2022-08-16 163 struct pinctrl_dev *pctldev; e6cbbe42944de9 Patrick Rudolph 2022-08-16 164 struct pinctrl_desc pinctrl_desc; e6cbbe42944de9 Patrick Rudolph 2022-08-16 165 char name[32]; e6cbbe42944de9 Patrick Rudolph 2022-08-16 166 unsigned int tpin; 99084881de88ff Patrick Rudolph 2023-07-14 167 struct gpio_desc *gpio_reset; e6cbbe42944de9 Patrick Rudolph 2022-08-16 @168 }; e6cbbe42944de9 Patrick Rudolph 2022-08-16 169 :::::: The code at line 168 was first introduced by commit :::::: e6cbbe42944de93ba4e0785b4f90d284b1d7cdf6 pinctrl: Add Cypress cy8c95x0 support :::::: TO: Patrick Rudolph :::::: CC: Linus Walleij -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki