From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) (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 BE259207E17; Thu, 13 Feb 2025 07:46:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739432819; cv=none; b=m/oh2Qbfudan7D5861IycOusFVxm9Vjp8W7YMBeKFihy8q7XpVpXeD5mmwMfZ+I3OnydODNtAvfQcoJD4tA95shc0p5Qun2aGqlDxazqwMOsVmWDivbSfLMouPFYAqfgrwSFNTREcYb3olvmB9+rOYJeox0jGUb2aDOLAAjq9Pg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739432819; c=relaxed/simple; bh=VCg0jRUPuHhvK6NR4yFDct642+Q4OOO7b3q05KJjBto=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VU6lgw5w7pEl27Yj9Lag4u1GKNzEVUhBA1fSUaw1w2D2/5isBqQVkYjCVsX7c5E3Gr1grn8z9SyViq4ckUcgzw99F3mRSCeUc22+dT24rQvyDhLRcLOOkyBc7NX9irvwotN3ybNI6QyBeUqztfIVRm9L7c56dWxXQC54x+T3sUo= 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=dqa9+3Zs; arc=none smtp.client-ip=192.198.163.12 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="dqa9+3Zs" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1739432818; x=1770968818; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=VCg0jRUPuHhvK6NR4yFDct642+Q4OOO7b3q05KJjBto=; b=dqa9+3ZsiqGqrXzuc7KXdCpzDDNK1W38moIHSXAN63RXJt4vC5xBSz3H CfXbyxV3FqSNQmErY5mLwmmfy1iF1YOCwAj126pwanX2KJAD9AiZPyzG5 joF5GDWsoE8NtspyMxGppsnHxB9EwbjzRwnxYhOU94cUsVY/YsVkWtGpy xuSyKgVYkVOJJNC6aUm3sNesnG7zF+wdK8XhLrV3h+Sjw9tVqy0DXteHO HeqaQBC1toJUPuRfBDL5JBVV3o9h7pGu9PT+S67D8JdJWhRUjYe2RxVK+ fHsLMQLQ1OErKLKPf3MuTFyK6GQWBDTgx+gSI1w7zWygjPcfGLK4z5MFx g==; X-CSE-ConnectionGUID: st0KpbZzQUmANxY39lKlOQ== X-CSE-MsgGUID: aWeInoUXQw2agOcJZBoxJQ== X-IronPort-AV: E=McAfee;i="6700,10204,11343"; a="44052161" X-IronPort-AV: E=Sophos;i="6.13,282,1732608000"; d="scan'208";a="44052161" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Feb 2025 23:46:57 -0800 X-CSE-ConnectionGUID: crQpVo6fSqWK8Vul4++oLA== X-CSE-MsgGUID: YDT/1sVUQNSgEtE0fWU0Xg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="117680964" Received: from lkp-server01.sh.intel.com (HELO d63d4d77d921) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 12 Feb 2025 23:46:55 -0800 Received: from kbuild by d63d4d77d921 with local (Exim 4.96) (envelope-from ) id 1tiTvw-0016k4-2r; Thu, 13 Feb 2025 07:46:52 +0000 Date: Thu, 13 Feb 2025 15:45:59 +0800 From: kernel test robot To: Bartosz Golaszewski , Dipen Patel , Linus Walleij Cc: oe-kbuild-all@lists.linux.dev, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, timestamp@lists.linux.dev, Bartosz Golaszewski Subject: Re: [PATCH v2] gpiolib: don't build HTE code with CONFIG_HTE disabled Message-ID: <202502131503.gMZldZLL-lkp@intel.com> References: <20250207083146.17872-1-brgl@bgdev.pl> Precedence: bulk X-Mailing-List: linux-gpio@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: <20250207083146.17872-1-brgl@bgdev.pl> Hi Bartosz, kernel test robot noticed the following build errors: [auto build test ERROR on brgl/gpio/for-next] [also build test ERROR on linus/master v6.14-rc2 next-20250212] [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/Bartosz-Golaszewski/gpiolib-don-t-build-HTE-code-with-CONFIG_HTE-disabled/20250207-163408 base: https://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux.git gpio/for-next patch link: https://lore.kernel.org/r/20250207083146.17872-1-brgl%40bgdev.pl patch subject: [PATCH v2] gpiolib: don't build HTE code with CONFIG_HTE disabled config: i386-buildonly-randconfig-001-20250213 (https://download.01.org/0day-ci/archive/20250213/202502131503.gMZldZLL-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/20250213/202502131503.gMZldZLL-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/202502131503.gMZldZLL-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/reset/reset-gpio.c:3: include/linux/gpio/consumer.h: In function 'gpiod_enable_hw_timestamp_ns': >> include/linux/gpio/consumer.h:557:17: error: implicit declaration of function 'WARN_ON' [-Werror=implicit-function-declaration] 557 | WARN_ON(desc); | ^~~~~~~ include/linux/gpio/consumer.h:559:17: error: 'ENOSYS' undeclared (first use in this function) 559 | return -ENOSYS; | ^~~~~~ include/linux/gpio/consumer.h:559:17: note: each undeclared identifier is reported only once for each function it appears in include/linux/gpio/consumer.h: In function 'gpiod_disable_hw_timestamp_ns': include/linux/gpio/consumer.h:567:17: error: 'ENOSYS' undeclared (first use in this function) 567 | return -ENOSYS; | ^~~~~~ cc1: some warnings being treated as errors vim +/WARN_ON +557 include/linux/gpio/consumer.h 548 549 #if IS_ENABLED(CONFIG_GPIOLIB) && IS_ENABLED(CONFIG_HTE) 550 int gpiod_enable_hw_timestamp_ns(struct gpio_desc *desc, unsigned long flags); 551 int gpiod_disable_hw_timestamp_ns(struct gpio_desc *desc, unsigned long flags); 552 #else 553 static inline int gpiod_enable_hw_timestamp_ns(struct gpio_desc *desc, 554 unsigned long flags) 555 { 556 if (!IS_ENABLED(CONFIG_GPIOLIB)) > 557 WARN_ON(desc); 558 559 return -ENOSYS; 560 } 561 static inline int gpiod_disable_hw_timestamp_ns(struct gpio_desc *desc, 562 unsigned long flags) 563 { 564 if (!IS_ENABLED(CONFIG_GPIOLIB)) 565 WARN_ON(desc); 566 567 return -ENOSYS; 568 } 569 #endif /* CONFIG_GPIOLIB && CONFIG_HTE */ 570 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki