Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp2758460lqp; Mon, 25 Mar 2024 08:26:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVKYeInbNs7VgAXlyZpzZz4tAlMoyuk+XNmYAiedL0nb+tvN3C6V1Sb4llSA33Ee3hmtkQgHGCtuOe7s0M23nWxFAfAMG21dGfayz/9xA== X-Google-Smtp-Source: AGHT+IGMRKUSNt4R5vZn6LGyVw0YZuUoEksLkVHBQtvZ5l+g/lTonmfPVH/yOh1N0VUKjkDzcayE X-Received: by 2002:a05:6a20:1591:b0:1a3:4670:fbbf with SMTP id h17-20020a056a20159100b001a34670fbbfmr9777187pzj.50.1711380415794; Mon, 25 Mar 2024 08:26:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711380415; cv=pass; d=google.com; s=arc-20160816; b=S4cUma9LrLzgL9Kbitod4TwDlN0+NvN06Jw2cx0i2NXfE3IgowCVFKNdCTOrPj3ZsZ xuwjA5bK7k2P889uSHGZnG0FcehjFyyvdd9cTP8OEqQiZPVyKO2MgofoS+MzwBuK7EoV 4UyILFZffC+Rtwam2BKH9rWc/YeWdCHC8kcrP4jDaVVFXNFbHVEZAfAwRBrepY0vlLiL yy60jT4xGvoymt/mBp9zMuups9EnQOe3Rm1RmAvxWnHim4GMJvwg+DGYsC2pvb5cOZ9l LyDo5QMvL+7NkKJdBiiZbGWRHCFwodqnGFCuwO652b7cyrK/t8Y8wCqcrx1MWvaUpCbM 0WJA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=UfOp/YdplQRGvi4tK2WPLWRHx7xUBqIBvhpjSL8JAVM=; fh=i/cxZKrAKn+uk9Wso/TZ3+Wz/PSMgIACbfqKXZ4p1nA=; b=ttU3DJScKaZxpTPP/RzsqlG3e3SdtUORW1Fx+audRtsQVyDguokx4iAuO3pynm796e aTEmcskAz3nu9LrbtSHP+AvdXwx9+KQJGp5IQvTF2kkceHEdIs9CQs1Zso4QIigFHlac rNtH9bFjMzgWivi5VVfiFp5fKqrM2zwxg1q5J7syXGZxFCn4aPFbqy/3/u+6IOEq28bc 4rNk4Vehoy9KLKeEnm3S8JluEWY1JKgu0R84FBfKX6y3gcMo//8CS91jP2bVvPHKImWz YVjjCE1inrA3CtmIZtayWwjCF53GPM/pyjQVyT6Jb2JMnN/qF8L7M5EigwdPJZMwLvfa rf2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kc/oiVqO"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116889-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116889-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id h10-20020a170902f54a00b001ddbde8f59bsi5258155plf.582.2024.03.25.08.26.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Mar 2024 08:26:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-116889-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="kc/oiVqO"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-116889-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-116889-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id A95C5BE07D6 for ; Mon, 25 Mar 2024 14:41:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0BFA717F369; Mon, 25 Mar 2024 11:30:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kc/oiVqO" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 DCAF917F360; Mon, 25 Mar 2024 10:47:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711363628; cv=none; b=mC0aYT5jthMyrKQtgLFWEMzo5kxq94n3PAT+wIJsupBzxbH8UfnzQ5QHJwhp9Nscn6Y/5k9DnjjxuHqJ+U9rnDLqZkawIGCeMPVr4dkUt1njJ8yk+8MdArLmXGWnp2n1TlnXoJyCAJ15mWCxjz7frFmpzu0z7grV52001f6M1Xs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711363628; c=relaxed/simple; bh=r31SBBkS3IQnuOXsL/OAJ6hP04pjUORZG5Mw9x9NTps=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=upYCVodHZGfsNqGQFY7OpterR1d2At4oLbmamKtF/fDKwgLiOqZ4jx/S1VgCAsBQl7V7kJfZYytlgxaTM4gKc+5zyEr2FwUy41ueD4dxFWkX1L1Efs9vIlgOt59LbFEMs2ysBFddm99RaHWugQNwZ+vmChbmNvPMuuNh9FAmRb8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kc/oiVqO; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 02BCEC433C7; Mon, 25 Mar 2024 10:47:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711363626; bh=r31SBBkS3IQnuOXsL/OAJ6hP04pjUORZG5Mw9x9NTps=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kc/oiVqO1kdaPxCngGTgEuTZRx8Y+Ojs1SmR2fp3nID5XXQkoQlMVliY8frbY0Yj/ GKB4+E8wU/4J3dgkVBqX6mENGL6NOrJlG9n9DAF+TqPB2RIf6ZSb41cqHdcFlgi07H vTEwvK06xi7vBRu4cGK/YtAyetBSoZPRo7dmG8RPKJoHx1yE9GZTxlagrtp4lHSzSz Wxfg7Xq+F6OHeWZ4KnHtlc4MQW2eG9YJXwwvgOFnfUS4e8sd6Am85BYwBtAuihjK85 HQGSTX+yyOKfAL1jfSzXd8Juu2luHou2rDFr63/NqORZ8t1IWcQqyiCWKLDT9lnsvj vq9w/OLWiE9Rw== From: Miguel Ojeda To: sashal@kernel.org Cc: andrii@kernel.org, ast@kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Miguel Ojeda Subject: Re: [PATCH 6.8 196/715] bpf: don't infer PTR_TO_CTX for programs with unnamed context type Date: Mon, 25 Mar 2024 11:46:29 +0100 Message-ID: <20240325104629.76523-1-ojeda@kernel.org> In-Reply-To: <20240324223455.1342824-197-sashal@kernel.org> References: <20240324223455.1342824-197-sashal@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Hi Sasha, all, I got this one while built-testing 6.8.y for LoongArch with Rust enabled: kernel/bpf/btf.c:5690:10: error: expression which evaluates to zero treated as a null pointer constant of type 'const struct btf_type *' [-Werror,-Wnon-literal-null-conversion] 5690 | return false; | ^~~~~ Upstream fb5b86cfd4ef ("bpf: simplify btf_get_prog_ctx_type() into btf_is_prog_ctx_type()") changed the function into another one, including its return type to `bool`, so it seems that one is a stable dep or perhaps making it return `NULL` here. Hope that helps! Cheers, Miguel