🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8406

Re: [PATCH net] net: mctp: usblib: Fix broken assertion

#8406
From: patchwork-bot+netdevbpf
Date: Thu, 29 Oct 2026 00:30
26 lines
8834 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 26 Oct 2026 11:32:32 +0800 you wrote:
> The expression in a static assertion in the kunit tests was not
> considered constant by gcc, causing an error. Replace the static assert
> with a runtime kunit equivalent.
> 
> Fixes: 1e12f734afc1 ("net: mctp: usblib: Add initial kunit tx tests")
> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
> Closes: https://lore.kernel.org/netdev/CAMuHMdXTGGdGWZ9sKz5_sQF1237gV844cEhkXr6v_TUHPOb78Q@mail.gmail.com/
> Signed-off-by: James Lee <james@codeconstruct.com.au>
> 
> [...]

Here is the summary with links:
  - [net] net: mctp: usblib: Fix broken assertion
    https://git.kernel.org/netdev/net/c/8146be04908d

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179323380581.1497553.17321944752133745060.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353098-linux-kernel-netdev=dewy.ru
References: <20261026-dev-mctp-static-assert-fix-v1-1-ceef9913e891@codeconstruct.com.au>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-353098-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: mctp: usblib: Fix broken assertion
Date: Thu, 29 Oct 2026 00:30:05 +0000
Organization: Usenet Network
Message-ID: <179323380581.1497553.17321944752133745060.git-patchwork-notify@kernel.org>
References: <20261026-dev-mctp-static-assert-fix-v1-1-ceef9913e891@codeconstruct.com.au>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1901900"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:+B5NjGj9euE9MKuFoQ2pVfJW7hM= sha256:o/ODwdfPPegva9bQCnEhgLH6r7fS8wE9debysmrrH5M=
	sha1:k9Cdnc0QHfxF6yQmogOn6687TnQ= sha256:cUN5Tu6b4v2faFfZLWOZEI2xOtmcGVs0W4nckh2aV94=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id 37133125C4D; Thu, 29 Oct 2026 03:31:10 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=kernel.org
X-Received: from mail.dewy.ru ([127.0.0.1])
	by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id p026951sStpW;
	Thu, 29 Oct 2026 03:31:06 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-353098-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 6DC5B125C4E; Thu, 29 Oct 2026 03:30:57 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id 452E329412; Thu, 29 Oct 2026 00:30:19 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1793233819;
	b=h/ZtvUYFPnPE4OSw06LGGkbe7NCJx8Jf4GRBW2h/v67X6PpzkoYLufPPznpH/n1Iu7z8
	 +Cyud/cRFQPisaMRHlrmPOJVH74MADnnQwQjTLazs2s4fIFzC7vI/pC3ZI7Qr2kcgeZrR
	 9HNnsz3aUd9oVJBAPqPhRZ1KUVmsI6otr1pyo2aPjB8HwIs0WhAns2jaNwY3CwDa2X8J1
	 aOiYFYPqMF17NpRdsa7ZBSC6spm5tj8RAAa2UrsPy6YXLh6WUkDhYPteE+f+qeuOH5DK3
	 3Rxko9tZ2KR/TYYCfdfJRaixuxt/22BGtco7gnkCSC0sBDj3R9bAsLwRsrCmFlb18JQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793233819;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=oAFyZOwx7kvhTg5/hTfwP7/bDzhPp5MaNft1aGJPLvc=;
	b=EjxAMeYh73fwWVc0vxhzI6SsnRVrfZo1MeaLBuucfoBzC9+FnsR7UC3KfDmy5jW11OZ4
	 P/i1K+OyJoHJdE61Hh8fhLmQ+b3yi9VXKA/xnAiUPC9w2d9mWuwlH0jKwloU+jduL0jho
	 OxT+Xzy8pzWER+2gkGT2letwz1r1csReZ2fa5GFJZoS6j8WxZpWuHBRAF1UaSq5b2qm/E
	 xYxuOmo2egV9gn5saTak8A/Atv7Rmm/3XkEAX48bscBnjzg+P6AnIReZwakQLlh8Ii+XR
	 z+lLe/zIMvypNTBswP9M1pJtGj1FlEYHRg4YHM8h7DXN9Xf+BA9ZZuDwqO2v6V5M5AA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=g3Q8Rl7N;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 1CB8C606A31A;
	Thu, 29 Oct 2026 00:30:19 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=g3Q8Rl7N
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1793233808;
	b=RcEWPb8pGufNbHUe2taxTwA58VBxNf7oUF/J8uJpTWpgCi3afRGFaz/IJoHwLC8IBRlr
	 izN1qEFXwG7kUk63UJJjklMw9Egok6oJVkZP/BmxF2ED3WKLJtesq1T7IXYgR5PshV7Sw
	 2wUZfocLQPPnZVV+0LNA0ylN5c7YjnazrGaRdywTufWu9qghu+L2flRbpe/cI/B8sVuXj
	 nz73f4zTEtX77krCl8wmy2mJ6YqLBuq19w49U8wpJVb/hlp9+aWCaDe71xtmYiZvWYrJB
	 KBJlN1OIAC7O+LxXLqEDH7kai/eRoxREG1AbN+kohZudPJuTza/QQesdcIdRUpFXOow==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793233808;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=oAFyZOwx7kvhTg5/hTfwP7/bDzhPp5MaNft1aGJPLvc=;
	b=kkhbYQ8WcDp2mzQyh20InG1goSHTEmbC2n27isr3Fvzom2+6Xj24ECgkLM6UFBwK7qhf
	 YqiGkPt0ArjKlHAg/JtsXFI2SLJae94H6+5tZH3Rdc9mzjyZJ6fCzKJAZ50hulJn9dFvs
	 vPJMs/27dmjHAUayAskQolIby75ujNfM03LrLuDaSQ5X2l+vBkSo7W4sf9XlY445cEfJY
	 eSeTLP688ko6/VMON3I6L3EGjWxxH9VXnrlKaBaw1ERVWRfQ5ZtKTq+3xwvqADE3BjCni
	 toRhe1543nKJYodlhY6qXeLZg9b/v5hEGbAPMVWbLYLbiIf3gN75ih+dida4GIx+DgA==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=g3Q8Rl7N;
	arc=none smtp.remote-ip=100.103.45.18
X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature ECDSA (prime256v1))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id EEA7B606A322;
	Thu, 29 Oct 2026 00:30:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DCE91F01825;
	Thu, 29 Oct 2026 00:30:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793233807;
	bh=oAFyZOwx7kvhTg5/hTfwP7/bDzhPp5MaNft1aGJPLvc=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=g3Q8Rl7NfX79EN6CVcAdZJZsQOAxQlo++BpolGWmbTjam2/qWuY+cDisfypxSkdO0
	 XymPcQ+6SW+cDk8KpS7PFhvDSQt5/8HvPjINeOZM37F9D7tKqenIQRZHVz+S5TU3F5
	 d7MBU2K7XxfpE3L9Too7PKS34IV/odMZst8LsueptUcEoVygD7L6tY3LE81yUJbj+g
	 h6U0H3AyuCkBD71tdzC8DaH2zSdU2l7gA3jcwct+5AeKzKLml5lHOJYphHlWkNuSsk
	 +b1cIJMq2W36pqZEpsDEerVTXk383hlNyEZvPLVB1J++aRrOSB946dr1ls4uvWkWpw
	 Gy3+xbUgbGoLw==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 444CA3AAFC4C;
	Thu, 29 Oct 2026 00:30:07 +0000 (UTC)
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To:  <20261026-dev-mctp-static-assert-fix-v1-1-ceef9913e891@codeconstruct.com.au>
X-Cc: jk@codeconstruct.com.au, matt@codeconstruct.com.au, andrew+netdev@lunn.ch,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org, geert@linux-m68k.org