From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) (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 BE8462ED17B; Tue, 21 Apr 2026 16:24:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776788666; cv=none; b=TkLsRzateJqTWDgoTWtt1jnU3MZxU0Fjt3RC2yj2wLFogIuUV5NyyVyxjgqJ26OkcykcVVXX9Hcu9/3JTGAJ0C4VwyqdWw0MQUuGaZ7F3Ov+JTEs4oUffOPXEjPcNnKqfQCp8ygmnSnWUzgIiiG8g/DL9QZ6Wc6SfkVelvE0l08= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1776788666; c=relaxed/simple; bh=nQunemQjmq7J3pbxI2AqF1xIeNDWFBx1/5BRlXisaCw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PfAwvU8iiIGlzlKLalJfnPl+6kxvZXBUT9X1JuqVtW/rdAMSFa5exbBrOgX9xejW53iSwH3G+zMr1s1v1a0xYLjtRI4O4OWlM5wWexsjpO8Zxs+m/p5sZOPQz93dixFAaWSAWQOZayvIJRt04IRXnJ9ItTZm0aKSAbzaELQ1s9I= 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=LXsfyIGB; arc=none smtp.client-ip=192.198.163.9 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="LXsfyIGB" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1776788665; x=1808324665; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=nQunemQjmq7J3pbxI2AqF1xIeNDWFBx1/5BRlXisaCw=; b=LXsfyIGBOeBxu0oFodWD/AuMLAGytfgVd24jLAr2kztEYbMgdR1C3N4w kS79zwBW4DAg32Ce7t4tfoFu4u9EX7vdBunS5Rfc7eMDNzozqr2AaRcjB 3gUeFlbI9Rv1M2HbGyasXdGnygZEemsUYrqTvHS81331Pcm6yACP6CBBl XTmLtRn1MW2j4PO0TYa1BfhHjAmGBOeyhovx43m5QQ7meg0xLCmlA2yaS BI0dXEKxhHReWKBT+ENKDVjGhTSqMebqO5btJ0yjBHNVSXZAJowpagEqB l1/7enSsseJD4i6vpP6J3JtlPlpeA2RviwbwokUhc9IaHswoIchAbAUjk A==; X-CSE-ConnectionGUID: k5qnTxCuT4WG0bbUze8DZw== X-CSE-MsgGUID: 2/CH0A2sSQ+VMG6HBMr5fQ== X-IronPort-AV: E=McAfee;i="6800,10657,11763"; a="88427201" X-IronPort-AV: E=Sophos;i="6.23,192,1770624000"; d="scan'208";a="88427201" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2026 09:24:24 -0700 X-CSE-ConnectionGUID: owCl++O5Q26diS7PURbSEQ== X-CSE-MsgGUID: QxmqOUo2RwujnCUiyc/PeQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,192,1770624000"; d="scan'208";a="237059148" Received: from lkp-server01.sh.intel.com (HELO 7e48d0ff8e22) ([10.239.97.150]) by fmviesa005.fm.intel.com with ESMTP; 21 Apr 2026 09:24:22 -0700 Received: from kbuild by 7e48d0ff8e22 with local (Exim 4.98.2) (envelope-from ) id 1wFDtb-000000003ki-34Tq; Tue, 21 Apr 2026 16:24:19 +0000 Date: Wed, 22 Apr 2026 00:24:07 +0800 From: kernel test robot To: Marino Dzalto , pablo@netfilter.org, fw@strlen.de Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Marino Dzalto Subject: Re: [PATCH] netfilter: xt_HL: add pr_fmt, default case and NULL checks Message-ID: <202604220024.iITt6Hv8-lkp@intel.com> References: <20260403193929.89449-1-marino.dzalto@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20260403193929.89449-1-marino.dzalto@gmail.com> Hi Marino, kernel test robot noticed the following build errors: [auto build test ERROR on netfilter-nf/main] [also build test ERROR on linus/master v7.0 next-20260420] [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/Marino-Dzalto/netfilter-xt_HL-add-pr_fmt-default-case-and-NULL-checks/20260420-185652 base: https://git.kernel.org/pub/scm/linux/kernel/git/netfilter/nf.git main patch link: https://lore.kernel.org/r/20260403193929.89449-1-marino.dzalto%40gmail.com patch subject: [PATCH] netfilter: xt_HL: add pr_fmt, default case and NULL checks config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20260422/202604220024.iITt6Hv8-lkp@intel.com/config) compiler: clang version 18.1.8 (https://github.com/llvm/llvm-project 3b5b5c1ec4a3095ab096dd780e84d7ab81f3d7ff) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260422/202604220024.iITt6Hv8-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/202604220024.iITt6Hv8-lkp@intel.com/ All errors (new ones prefixed by >>): >> net/netfilter/xt_hl.c:34:6: error: cannot assign to variable 'ttl' with const-qualified type 'const u8' (aka 'const unsigned char') 34 | ttl = ip_hdr(skb)->ttl; | ~~~ ^ net/netfilter/xt_hl.c:29:11: note: variable 'ttl' declared const here 29 | const u8 ttl; | ~~~~~~~~~^~~ 1 error generated. vim +34 net/netfilter/xt_hl.c 25 26 static bool ttl_mt(const struct sk_buff *skb, struct xt_action_param *par) 27 { 28 const struct ipt_ttl_info *info = par->matchinfo; 29 const u8 ttl; 30 31 if (!skb) 32 return false; 33 > 34 ttl = ip_hdr(skb)->ttl; 35 36 switch (info->mode) { 37 case IPT_TTL_EQ: 38 return ttl == info->ttl; 39 case IPT_TTL_NE: 40 return ttl != info->ttl; 41 case IPT_TTL_LT: 42 return ttl < info->ttl; 43 case IPT_TTL_GT: 44 return ttl > info->ttl; 45 default: 46 pr_warn("Unknown TTL match mode: %d\n", info->mode); 47 return false; 48 } 49 } 50 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki