From nobody Sat Feb 7 09:36:52 2026 Received: from out-187.mta1.migadu.com (out-187.mta1.migadu.com [95.215.58.187]) (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 C55DC352945 for ; Fri, 19 Dec 2025 18:14:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.187 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766168061; cv=none; b=TJsGJov3+/pYUH26HXDEwJDzXj+ccsF8UCmze0SIH8DwKgyRX6LPRYihoViDwx0/bqW6AiqXcGtAcWk8cGG3OTOSMYILJorlelATCykW+AIJU5aIJOM0JfjBrRBXX3txfScmzuSpr4y2NsCFbq1YJZmEvzuc1qCo5a1/lZxRndg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766168061; c=relaxed/simple; bh=RIatdLGJs9ccgIc14D03GI3j70EcobeXV60MzFDU25U=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Ix9e6eRdyt3MMFUo5iOn6XYvpWC3kTimjZEuX9dKrSumw9K8Itl+Iq2eSA96cPsFDvsEozmNIUjg0Rlo8kUpAiTKdwJiRQ5f00E79fCvQ1U06ReKHsWagdRh6/OXi/oybuu9TmqwmHMl/cGr/i//U48rpFXZwN/p4285uZ/YcsU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=FJL6a7VF; arc=none smtp.client-ip=95.215.58.187 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="FJL6a7VF" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1766168054; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=eRf8rJz1Tj2FggqEZIaoF6sSftsqCsFHz4HLS3YlcGY=; b=FJL6a7VFc+e4yDMm0SNaiEMKwVXlrLFRkSee2XYNWDNqfeBqdKoatBUwRV7vNgW5WwQbtp dgXjMJwqltaUhBZSajqH/nS5eYTH6jkfwejgrEW3X/I8zM0vKSt3qTbvIDzcsXLKBpmmow ZC9WbhTVn9f5bBfj81qkcrpCiqwelbA= From: Ihor Solodrai To: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Andrew Morton , Nathan Chancellor , Nicolas Schier , Jonathan Corbet , Tejun Heo , David Vernet , Andrea Righi , Changwoo Min , Shuah Khan , Nick Desaulniers , Bill Wendling , Justin Stitt , Alan Maguire , Donglin Peng Cc: bpf@vger.kernel.org, dwarves@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, sched-ext@lists.linux.dev Subject: [PATCH bpf-next v7 4/8] resolve_btfids: Always build with -Wall -Werror Date: Fri, 19 Dec 2025 10:13:17 -0800 Message-ID: <20251219181321.1283664-5-ihor.solodrai@linux.dev> In-Reply-To: <20251219181321.1283664-1-ihor.solodrai@linux.dev> References: <20251219181321.1283664-1-ihor.solodrai@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" resolve_btfids builds without compiler warnings currently, so let's enforce this for future changes with '-Wall -Werror' flags [1]. [1] https://lore.kernel.org/bpf/1957a60b-6c45-42a7-b525-a6e335a735ff@linux.= dev/ Tested-by: Alan Maguire Signed-off-by: Ihor Solodrai --- tools/bpf/resolve_btfids/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/bpf/resolve_btfids/Makefile b/tools/bpf/resolve_btfids/M= akefile index ce1b556dfa90..1733a6e93a07 100644 --- a/tools/bpf/resolve_btfids/Makefile +++ b/tools/bpf/resolve_btfids/Makefile @@ -70,7 +70,8 @@ HOSTCFLAGS_resolve_btfids +=3D -g \ -I$(srctree)/tools/include/uapi \ -I$(LIBBPF_INCLUDE) \ -I$(SUBCMD_INCLUDE) \ - $(LIBELF_FLAGS) + $(LIBELF_FLAGS) \ + -Wall -Werror =20 LIBS =3D $(LIBELF_LIBS) -lz =20 --=20 2.52.0