From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.17]) (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 0BD2239447C; Wed, 15 Apr 2026 16:13:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.17 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776269606; cv=none; b=sgQGEBhMB2cz6BmaOAaq6h9JoNw4gj4rTEEYjpWsa02HGzcQrj88jd5ez3QTligVv5fCcZFaf9xoS6Z9J2XcUo6+z+86pXn48Bu/ISxEXpldLkD7sV80TOw1FU1dXKeqsdN4Fj2RJzylXIX+DCNg6bHTSCnJEPkYF7r2yE5QZFY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776269606; c=relaxed/simple; bh=jPS7AA5tsKAcQLt6aX16GmHwFfcop8nd8+e8ICqABDo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=SyJ+pnpC/eACHOpxEegTaTxFsnm8V1zBtbSBrjWJicNNBxdDDvVanyH1Qwl4nFivUuy49Q4TcszacJeQz/bFD4XFWvkZzSQn56I0BrrBJhce2+V60wuDT6t/OmCWDVFp7+ur8Fc1Sk5jB0kl873KGv/Afo7ptrFXBTEN4+bWSRQ= 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=mDCOVIft; arc=none smtp.client-ip=198.175.65.17 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="mDCOVIft" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1776269606; x=1807805606; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=jPS7AA5tsKAcQLt6aX16GmHwFfcop8nd8+e8ICqABDo=; b=mDCOVIfttDJqLJz4HUVutgqmYmdHG8gEXtrL2rMW9ZOQSg9+OQh74ok7 EFyk87okVOflIEW3GU2AY46jeLUdFqU+xTyzWdixShSTKeiaviDVWRZak KUBE1jP3jzB1D1nqCnLOCMB/KU87kKx3yxlgcLkXnOQxD1ebTU1+zCfCT KzSvCKPm15HBi1S/0EqRVKCdigvkQEqPUAHnVAOHkMTjwzBBcX3S3BtD8 XwIf4Cc2ymlFLRubeSi2PGcjo7HJ2ZTh9X7m5gw2ipzM+DB/5GcP9aPEL gJULioOD3DLODjN+sADZM+vTVOahVm4Ql/vUtItYHa0Mlr+0q4e9eE53+ Q==; X-CSE-ConnectionGUID: Nt/uEdntQeuoZQ6F3Zxc3w== X-CSE-MsgGUID: IUclJ/mdR96YlFJ2xvk/EA== X-IronPort-AV: E=McAfee;i="6800,10657,11760"; a="77227567" X-IronPort-AV: E=Sophos;i="6.23,179,1770624000"; d="scan'208";a="77227567" Received: from fmviesa003.fm.intel.com ([10.60.135.143]) by orvoesa109.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2026 09:13:25 -0700 X-CSE-ConnectionGUID: hxu9Xgm7RXKcyFicPUm2Cg== X-CSE-MsgGUID: JbXqJXrYTI+NcU72WWRUig== X-ExtLoop1: 1 Received: from lkp-server01.sh.intel.com (HELO 7f3b36e5d6a5) ([10.239.97.150]) by fmviesa003.fm.intel.com with ESMTP; 15 Apr 2026 09:13:22 -0700 Received: from kbuild by 7f3b36e5d6a5 with local (Exim 4.98.2) (envelope-from ) id 1wD2rf-000000000gA-1D2q; Wed, 15 Apr 2026 16:13:19 +0000 Date: Thu, 16 Apr 2026 00:12:19 +0800 From: kernel test robot To: Dudu Lu , netdev@vger.kernel.org Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, Dudu Lu Subject: Re: [PATCH] rose: Fix rose_find_socket() returning without sock_hold() Message-ID: <202604160039.PLn74vyE-lkp@intel.com> References: <20260413090420.79932-1-phx0fer@gmail.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260413090420.79932-1-phx0fer@gmail.com> Hi Dudu, kernel test robot noticed the following build errors: [auto build test ERROR on net/main] [also build test ERROR on net-next/main linus/master horms-ipvs/master v7.0 next-20260414] [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/Dudu-Lu/rose-Fix-rose_find_socket-returning-without-sock_hold/20260414-194608 base: net/main patch link: https://lore.kernel.org/r/20260413090420.79932-1-phx0fer%40gmail.com patch subject: [PATCH] rose: Fix rose_find_socket() returning without sock_hold() config: i386-randconfig-012-20260415 (https://download.01.org/0day-ci/archive/20260416/202604160039.PLn74vyE-lkp@intel.com/config) compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260416/202604160039.PLn74vyE-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/202604160039.PLn74vyE-lkp@intel.com/ All errors (new ones prefixed by >>): >> net/rose/af_rose.c:1:2: error: expected identifier or '(' 1 | if (s) | ^ In file included from net/rose/af_rose.c:21: 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[2]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from net/rose/af_rose.c:21: 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[2]') [-Warray-bounds] 98 | return (set->sig[3] | set->sig[2] | | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from net/rose/af_rose.c:21: 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[2]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from net/rose/af_rose.c:21: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:114:27: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 114 | return (set1->sig[3] == set2->sig[3]) && | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from net/rose/af_rose.c:21: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:115:5: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 115 | (set1->sig[2] == set2->sig[2]) && | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from net/rose/af_rose.c:21: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:115:21: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 115 | (set1->sig[2] == set2->sig[2]) && | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from net/rose/af_rose.c:21: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/signal.h:138:8: note: expanded from macro '_SIG_SET_BINOP' 138 | a3 = a->sig[3]; a2 = a->sig[2]; \ | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from net/rose/af_rose.c:21: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/signal.h:138:24: note: expanded from macro '_SIG_SET_BINOP' 138 | a3 = a->sig[3]; a2 = a->sig[2]; \ | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from net/rose/af_rose.c:21: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/signal.h:139:8: note: expanded from macro '_SIG_SET_BINOP' 139 | b3 = b->sig[3]; b2 = b->sig[2]; \ | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from net/rose/af_rose.c:21: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:157:1: warning: array index 2 is past the end of the array (that has type 'const unsigned long[2]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/signal.h:139:24: note: expanded from macro '_SIG_SET_BINOP' 139 | b3 = b->sig[3]; b2 = b->sig[2]; \ | ^ ~ arch/x86/include/asm/signal.h:24:2: note: array 'sig' declared here 24 | unsigned long sig[_NSIG_WORDS]; | ^ In file included from net/rose/af_rose.c:21: In file included from include/linux/sched/signal.h:6: include/linux/signal.h:157:1: warning: array index 3 is past the end of the array (that has type 'unsigned long[2]') [-Warray-bounds] 157 | _SIG_SET_BINOP(sigorsets, _sig_or) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/signal.h:140:3: note: expanded from macro '_SIG_SET_BINOP' vim +1 net/rose/af_rose.c > 1 if (s) 2 sock_hold(s);// SPDX-License-Identifier: GPL-2.0-or-later 3 /* 4 * 5 * Copyright (C) Jonathan Naylor G4KLX (g4klx@g4klx.demon.co.uk) 6 * Copyright (C) Alan Cox GW4PTS (alan@lxorguk.ukuu.org.uk) 7 * Copyright (C) Terry Dawson VK2KTJ (terry@animats.net) 8 * Copyright (C) Tomi Manninen OH2BNS (oh2bns@sral.fi) 9 */ 10 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki