From mboxrd@z Thu Jan 1 00:00:00 1970 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 E65802D97BD; Wed, 11 Mar 2026 23:47:28 +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=1773272851; cv=none; b=dQ8tINZW287KSL8pSz7G1EhMfukg26ekIEAmTIlmdmix7NL3HxUs3XQtr9X1OWFLTLFDqZ1aMnHPj4t5ImnCPUe01EYGppqfou65NRNzLCDPlRP9yEueuuZkBgcvBhxuXVjsQhzzmu7triHwqViNIOjhBy5WPv/qM5V77QwKGjo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773272851; c=relaxed/simple; bh=Jhpy5D2bTxyinfl4qRyNwxq72723up6pfEhbxjm5HFQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=flAL/LR/gWPj5PHz+Do+vTCl11v3/enMTBbdMvKui+X3pcvgM/xc1bLkapN0L5MQHcRksyix2ZhhJm+jjhjCCqHgaNNLbZtvB+yuF/NzDUDF8aDzvpOQj9D0pp4vYcX0fsJWYNyN6sNBpbWoarr2+Cn9HkwXDVjN6r0hyyFk5/s= 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=PVY/XB9z; 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="PVY/XB9z" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1773272849; x=1804808849; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Jhpy5D2bTxyinfl4qRyNwxq72723up6pfEhbxjm5HFQ=; b=PVY/XB9zplse0FZTd9t5C96i2D9hVcsdW7+on6pCdQ/rku7pZVZ7y989 yix2huzuTTQt4ByHMhujcRALi1FdRxlxP3EJ5UMhWKUKOf+Ppmbuyot4C SQPlBN0Lm2iCog6SwYOYzmRYMfxWuyE8W+ikKX5q0Xf+yF97ECbteDkAY KWjJ0dwkpz3BjSQeSeUpT56tk0X0Orj2HVER8Tpp7t2CVbIhn/yA2ltFj AiSL1Dhb/T0Fv6Sk/PnOcBCQ+FLlxUy6D5KsX/SbYTVZUMr+Y03U41mOv +KsMASAvuiHHDZGQ3kZZ6Kws20pe6k8Tp/9tWAbuTbdQ2jXndHD+djPD0 w==; X-CSE-ConnectionGUID: QbJFl+ltRk+1NkS3mjbO+g== X-CSE-MsgGUID: Z9W3fzfURbeJHgmhUUv0vA== X-IronPort-AV: E=McAfee;i="6800,10657,11726"; a="85443165" X-IronPort-AV: E=Sophos;i="6.23,115,1770624000"; d="scan'208";a="85443165" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Mar 2026 16:47:28 -0700 X-CSE-ConnectionGUID: x4ZvwuHXTDenfvcfOP3dOA== X-CSE-MsgGUID: 3o6dEiGESXSIJ/yMcgjy0Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,115,1770624000"; d="scan'208";a="225606125" Received: from lkp-server01.sh.intel.com (HELO 418530b1a366) ([10.239.97.150]) by orviesa005.jf.intel.com with ESMTP; 11 Mar 2026 16:47:26 -0700 Received: from kbuild by 418530b1a366 with local (Exim 4.98.2) (envelope-from ) id 1w0TGt-000000001qF-23U9; Wed, 11 Mar 2026 23:47:23 +0000 Date: Thu, 12 Mar 2026 07:46:48 +0800 From: kernel test robot To: Carl Lee via B4 Relay , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, krzk@kernel.org, carl.lee@amd.com, peter.shen@amd.com, colin.huang2@amd.com Cc: oe-kbuild-all@lists.linux.dev Subject: Re: [PATCH] nfc: nxp-nci: i2c: restore IRQ trigger fallback Message-ID: <202603120758.LA4Bjngo-lkp@intel.com> References: <20260311-nfc-nxp-nci-i2c-restore-irq-trigger-fallback-v1-1-9e20714411d7@amd.com> Precedence: bulk X-Mailing-List: netdev@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: <20260311-nfc-nxp-nci-i2c-restore-irq-trigger-fallback-v1-1-9e20714411d7@amd.com> Hi Carl, kernel test robot noticed the following build errors: [auto build test ERROR on 7109a2155340cc7b21f27e832ece6df03592f2e8] url: https://github.com/intel-lab-lkp/linux/commits/Carl-Lee-via-B4-Relay/nfc-nxp-nci-i2c-restore-IRQ-trigger-fallback/20260311-174025 base: 7109a2155340cc7b21f27e832ece6df03592f2e8 patch link: https://lore.kernel.org/r/20260311-nfc-nxp-nci-i2c-restore-irq-trigger-fallback-v1-1-9e20714411d7%40amd.com patch subject: [PATCH] nfc: nxp-nci: i2c: restore IRQ trigger fallback config: i386-buildonly-randconfig-001-20260312 (https://download.01.org/0day-ci/archive/20260312/202603120758.LA4Bjngo-lkp@intel.com/config) compiler: gcc-12 (Debian 12.4.0-5) 12.4.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260312/202603120758.LA4Bjngo-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/202603120758.LA4Bjngo-lkp@intel.com/ All errors (new ones prefixed by >>): drivers/nfc/nxp-nci/i2c.c: In function 'nxp_nci_i2c_probe': >> drivers/nfc/nxp-nci/i2c.c:311:20: error: implicit declaration of function 'irq_get_trigger_type' [-Werror=implicit-function-declaration] 311 | irqflags = irq_get_trigger_type(client->irq); | ^~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors vim +/irq_get_trigger_type +311 drivers/nfc/nxp-nci/i2c.c 265 266 static int nxp_nci_i2c_probe(struct i2c_client *client) 267 { 268 struct device *dev = &client->dev; 269 struct nxp_nci_i2c_phy *phy; 270 int r; 271 unsigned long irqflags; 272 273 if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) { 274 nfc_err(&client->dev, "Need I2C_FUNC_I2C\n"); 275 return -ENODEV; 276 } 277 278 phy = devm_kzalloc(&client->dev, sizeof(struct nxp_nci_i2c_phy), 279 GFP_KERNEL); 280 if (!phy) 281 return -ENOMEM; 282 283 phy->i2c_dev = client; 284 i2c_set_clientdata(client, phy); 285 286 r = devm_acpi_dev_add_driver_gpios(dev, acpi_nxp_nci_gpios); 287 if (r) 288 dev_dbg(dev, "Unable to add GPIO mapping table\n"); 289 290 phy->gpiod_en = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); 291 if (IS_ERR(phy->gpiod_en)) { 292 nfc_err(dev, "Failed to get EN gpio\n"); 293 return PTR_ERR(phy->gpiod_en); 294 } 295 296 phy->gpiod_fw = devm_gpiod_get_optional(dev, "firmware", GPIOD_OUT_LOW); 297 if (IS_ERR(phy->gpiod_fw)) { 298 nfc_err(dev, "Failed to get FW gpio\n"); 299 return PTR_ERR(phy->gpiod_fw); 300 } 301 302 r = nxp_nci_probe(phy, &client->dev, &i2c_phy_ops, 303 NXP_NCI_I2C_MAX_PAYLOAD, &phy->ndev); 304 if (r < 0) 305 return r; 306 307 /* Prefer the trigger type configured by firmware. 308 * Some platforms do not provide it, so fall back to the 309 * historically used rising-edge trigger. 310 */ > 311 irqflags = irq_get_trigger_type(client->irq); 312 if (!irqflags) 313 irqflags = IRQF_TRIGGER_RISING; 314 315 r = request_threaded_irq(client->irq, NULL, 316 nxp_nci_i2c_irq_thread_fn, 317 irqflags | IRQF_ONESHOT, 318 NXP_NCI_I2C_DRIVER_NAME, phy); 319 if (r < 0) 320 nfc_err(&client->dev, "Unable to register IRQ handler\n"); 321 322 return r; 323 } 324 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki