From mboxrd@z Thu Jan 1 00:00:00 1970 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 3C2403A9DA3; Fri, 13 Mar 2026 13:33:55 +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=1773408836; cv=none; b=HGm19+hjCloCOm14LALJ3GE7bJ5sikWZkqZB7VUrc52k8oXV+/cn//ks2TtRD2/ZQSmVV9+BVqlip8wIr2uZsKqFxpE8AHqmvGB4gVba9YDUpptMeUjJ+40Oct4XtAHlFsCYEcDmrKQjodxAITtSsep9P0pz8A80XIS1DTFCBJI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773408836; c=relaxed/simple; bh=AsX3C2hlUvkqktdPj7+pB/3rNjxKkhPkB+9v9ZcQKf4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Y01xcnoSKNUZUsz6Txz+XnzhL2+6TSAm4WRRYNmEvhCyd5rdnPdyzBbwyj7IJQK9xRLDSf9Xz8udzf5uLhysWTRDA3dVNQySyjIXITz+/kQ0bKTJCgBXBqRu+jcBXrdTPxLQf8d8GudZ5m8iR8mSiYrdmNZ7Q1NbXqrCk15uVOA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=dyFxil+n; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="dyFxil+n" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98853C19421; Fri, 13 Mar 2026 13:33:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773408835; bh=AsX3C2hlUvkqktdPj7+pB/3rNjxKkhPkB+9v9ZcQKf4=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dyFxil+nKP2AhM6je5QpP0RaFX8/v/cDk7TTmgWg0TVuLcn9ryIJFFOKybiUVi50U uvdQc8Y6kpDTi0BHcpPulUDB2ubvS6FkKhBDLSu9E0be+AZWlWih7uFLO3+aUElFmu 13ruL9CC83R8seUZq5gEOLGkDUjBcgQgaUXRI3n/91MR+gcPDy31cMuznMDyMbXhVH bNDvCk/LVVtkfJBhMSijeGJi0YyQ09xstTBjmqtsJbqV6hlwX23eVom1+8lBf/DwiL 2LWG0BN+/BCF79835ZbyBurws49fKNyB2/jDJGmoytzZtrwJeDPyrFb34LppYcAbh5 csTNrevq9Mhxg== Date: Fri, 13 Mar 2026 14:33:04 +0100 From: Benjamin Tissoires To: Leo Yan Cc: Arnaldo Carvalho de Melo , Ian Rogers , Namhyung Kim , James Clark , Kees Cook , Quentin Monnet , Nathan Chancellor , Nicolas Schier , Nick Desaulniers , Bill Wendling , Justin Stitt , 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 , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Adrian Hunter , Masami Hiramatsu , William Breathitt Gray , Barry Song , Qinxin Xia , Bartosz Golaszewski , Kent Gibson , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Long Li , Jonathan Cameron , David Lechner , Nuno =?utf-8?B?U8Oh?= , Andy Shevchenko , Andrew Morton , Willy Tarreau , Thomas =?utf-8?Q?Wei=C3=9Fschuh?= , Josh Poimboeuf , Robert Moore , Len Brown , Srinivas Pandruvada , Tejun Heo , David Vernet , Andrea Righi , Changwoo Min , Mark Brown , Steven Rostedt , Gabriele Monaco , Shuah Khan , Jiri Kosina , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, bpf@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH v4 28/30] selftests/hid: Append extra cflags Message-ID: References: <20260311-tools_build_fix_zero_init-v4-0-9e35bdb99cb3@arm.com> <20260311-tools_build_fix_zero_init-v4-28-9e35bdb99cb3@arm.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: <20260311-tools_build_fix_zero_init-v4-28-9e35bdb99cb3@arm.com> On Mar 11 2026, Leo Yan wrote: > Append EXTRA_CFLAGS to CFLAGS so that additional flags can be applied to > the compiler. > > Signed-off-by: Leo Yan > --- > tools/testing/selftests/hid/Makefile | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/testing/selftests/hid/Makefile b/tools/testing/selftests/hid/Makefile > index 50ec9e0406abaf316fba232c5da1967e27d0fa9b..686c5f79ca592c2ce94e37b39ab5c3ebe8483f79 100644 > --- a/tools/testing/selftests/hid/Makefile > +++ b/tools/testing/selftests/hid/Makefile > @@ -26,6 +26,7 @@ HOSTPKG_CONFIG := pkg-config > > CFLAGS += -g -O0 -rdynamic -Wall -Werror -I$(OUTPUT) > CFLAGS += -I$(OUTPUT)/tools/include > +CFLAGS += $(EXTRA_CFLAGS) Acked-by: Benjamin Tissoires Cheers, Benjamin > > LDLIBS += -lelf -lz -lrt -lpthread > > > -- > 2.34.1 > >