From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.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 9FF5C2D6E67; Wed, 5 Nov 2025 07:39:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.13 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762328385; cv=none; b=b9nm1Pj4en8kdpcUgp9VclonAXbUcJRqc398h9LUFr2t9lrSTbTYivA/LFyELINabnG7aDWPJe2pHgC+6wcT5BUS3IEGynii0pg3xVa0cRzCBMaC/YxpcbXoNsuCz6d8ODONlKdZAJ/nGIk1pHfd4D8CyjtPwTpJHJW4jBWx+JY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1762328385; c=relaxed/simple; bh=Vg/JTRWu5JYecUoj5fPJ3eUkXVB2fLJNM8hZuKAeDz0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kDQlUgSj+RCChKgYd2GdHj1/eHoQqcb2kMyTU2i5XVNR9dtRu1pqUjiYbD4tPDthmBjbIlE+bXpSr099mLK2RdIJxNWC6/77BauqG2kr67GoAkBX5BTnHgUaDBe+yq2PhLzcFR0XIBR03IcG/JlIphwM/9WLAXGOnH4moeN3rPE= 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=ApA574N8; arc=none smtp.client-ip=192.198.163.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="ApA574N8" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1762328382; x=1793864382; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=Vg/JTRWu5JYecUoj5fPJ3eUkXVB2fLJNM8hZuKAeDz0=; b=ApA574N88QZzaz0F4B1mPQitVS8vRcc0isoMoFrdT18IhbUWM5EuRAYU erhYSrPtHS62cTTL9XOU9GpWQ44NDjCNEkoHLl3nvITn6iBI8XhdMH7zm WNXfIySBK85oUqo+ALA89C2vn/BYdzmCVsHwBqGcOyYWWKrJRwGJUqGzQ E2in2ScK955md1HWmblQHNQX317zlVGN1D0PB14spLPfG4aiIL1qM6EgG CxmI/o2woy9INBmUOk38DkPteuBEtXe13ogxbRBE+faOy+9fSZhLKBglm xHsgaQJw0hli/pLNBtqPuSPYArGwhmsihfxpi4+VLfzqk1UPLFlWKRF8r A==; X-CSE-ConnectionGUID: 4K1FJuyfRCSz11FZRhY62A== X-CSE-MsgGUID: 2jiiq1/ZR0eN+5nZzGMPeg== X-IronPort-AV: E=McAfee;i="6800,10657,11603"; a="67050119" X-IronPort-AV: E=Sophos;i="6.19,281,1754982000"; d="scan'208";a="67050119" Received: from fmviesa009.fm.intel.com ([10.60.135.149]) by fmvoesa107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Nov 2025 23:39:42 -0800 X-CSE-ConnectionGUID: 6fFnlBUySp+min9Gjs8BWA== X-CSE-MsgGUID: +9ukS+K2R4G7tGQW97VfLA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.19,281,1754982000"; d="scan'208";a="187831902" Received: from lkp-server02.sh.intel.com (HELO 66d7546c76b2) ([10.239.97.151]) by fmviesa009.fm.intel.com with ESMTP; 04 Nov 2025 23:39:38 -0800 Received: from kbuild by 66d7546c76b2 with local (Exim 4.96) (envelope-from ) id 1vGY7C-000SGq-2X; Wed, 05 Nov 2025 07:39:34 +0000 Date: Wed, 5 Nov 2025 15:39:04 +0800 From: kernel test robot To: Ian Abbott , linux-fpga@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, Moritz Fischer , Xu Yilun , Tom Rix , linux-kernel@vger.kernel.org, Ian Abbott Subject: Re: [PATCH 1/4] fpga: altera-pr-ip: Add dummy definitions of API functions Message-ID: <202511051539.q44jggF0-lkp@intel.com> References: <20251104153013.154463-2-abbotti@mev.co.uk> Precedence: bulk X-Mailing-List: linux-fpga@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: <20251104153013.154463-2-abbotti@mev.co.uk> Hi Ian, kernel test robot noticed the following build errors: [auto build test ERROR on linus/master] [also build test ERROR on v6.18-rc4 next-20251104] [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/Ian-Abbott/fpga-altera-pr-ip-Add-dummy-definitions-of-API-functions/20251105-000956 base: linus/master patch link: https://lore.kernel.org/r/20251104153013.154463-2-abbotti%40mev.co.uk patch subject: [PATCH 1/4] fpga: altera-pr-ip: Add dummy definitions of API functions config: arm64-randconfig-001-20251105 (https://download.01.org/0day-ci/archive/20251105/202511051539.q44jggF0-lkp@intel.com/config) compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251105/202511051539.q44jggF0-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/202511051539.q44jggF0-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/fpga/altera-pr-ip-core.c:11: >> include/linux/fpga/altera-pr-ip-core.h:11:2: error: unterminated conditional directive 11 | #ifndef _ALT_PR_IP_CORE_H | ^ In file included from drivers/fpga/altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:34: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/fpga/altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:34: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/fpga/altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:34: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 99 | set->sig[1] | set->sig[0]) == 0; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/fpga/altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:34: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 101 | return (set->sig[1] | set->sig[0]) == 0; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/fpga/altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:34: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from drivers/fpga/altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: -- In file included from altera-pr-ip-core.c:11: >> include/linux/fpga/altera-pr-ip-core.h:11:2: error: unterminated conditional directive 11 | #ifndef _ALT_PR_IP_CORE_H | ^ In file included from altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:34: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:11: warning: array index 3 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:34: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:98:25: warning: array index 2 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:34: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:99:4: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 99 | set->sig[1] | set->sig[0]) == 0; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:34: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:101:11: warning: array index 1 is past the end of the array (that has type 'unsigned long[1]') [-Warray-bounds] 101 | return (set->sig[1] | set->sig[0]) == 0; | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: In file included from include/linux/fs.h:34: In file included from include/linux/percpu-rwsem.h:7: In file included from include/linux/rcuwait.h:6: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:114:11: warning: array index 3 is past the end of the array (that has type 'const unsigned long[1]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ include/uapi/asm-generic/signal.h:62:2: note: array 'sig' declared here 62 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from altera-pr-ip-core.c:12: In file included from include/linux/fpga/fpga-mgr.h:12: In file included from include/linux/platform_device.h:13: In file included from include/linux/device.h:32: In file included from include/linux/device/driver.h:21: In file included from include/linux/module.h:20: In file included from include/linux/elf.h:6: In file included from arch/arm64/include/asm/elf.h:141: vim +11 include/linux/fpga/altera-pr-ip-core.h d201cc17a8a31cc Matthew Gerlach 2017-03-23 @11 #ifndef _ALT_PR_IP_CORE_H d201cc17a8a31cc Matthew Gerlach 2017-03-23 12 #define _ALT_PR_IP_CORE_H d201cc17a8a31cc Matthew Gerlach 2017-03-23 13 #include 961ea9f518b4061 Ian Abbott 2025-11-04 14 #include d201cc17a8a31cc Matthew Gerlach 2017-03-23 15 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki