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 7AB6A26CE32 for ; Sun, 10 May 2026 16:25:58 +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=1778430358; cv=none; b=Pfv6Ii/7k3ow6I99OZK3k6nJiV4ci7RJdbKRURbCicbAd9ysYuRYOAsNQpeCEXC10QIm0LhzFhF4Z3vDfgkbeEtTtwtM8zvc7pnQIr2qH8ZhCfeWzvMi3c08q2zzHAHMNNjG+i9/oFXKD3Q8NwPBtpkik37d7GmWDoV912DOqyI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778430358; c=relaxed/simple; bh=gsrtR7csK5i50U2YVSCK9ls6MtXZnjpk1YNpKTZetQQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FwG9CKWgySRQVpkxUGSzTrE1/XAnOTghRtKN5oHJ2Z1SuGJrb78lAdrZwdNZwYPlKWM4IMfxGRVxa9tY17m12UT2T6blQ6SfKH2I8uh4t6WvA4gMMMbcReOy5f3EhIBUmgUPzQhykz06UyA0DFJDKxB4AR2louSd2rKOMa2JWsU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ckPTVwJW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="ckPTVwJW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A390C2BCB8; Sun, 10 May 2026 16:25:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778430358; bh=gsrtR7csK5i50U2YVSCK9ls6MtXZnjpk1YNpKTZetQQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=ckPTVwJWO5k3ybkc2a13tuYadQCcyexhdQEQqJq3h2EFsNuIe7ddaj6gdBqeFk0fG bL26rdrjCWaRhQYXMRkxqfuaRYECrR8evNtbT0glILaM9BdjA/lWad6ywat+4dhME2 AQ1dZ/FVY4pRgvPZ3KVFx9p89EVNXZAt+8yHGpbI= Date: Sun, 10 May 2026 18:25:14 +0200 From: Greg KH To: Shreenidhi Shedi Cc: acme@kernel.org, linux@treblig.org, mikhail.v.gavrilov@gmail.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v1 00/18] Backport fixes for -Wdiscarded-qualifiers and -Wnonnull with newer glibc Message-ID: <2026051001-jacket-reliance-3ec6@gregkh> References: <20260509173559.10999-1-yesshedi@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: <20260509173559.10999-1-yesshedi@gmail.com> On Sat, May 09, 2026 at 11:05:41PM +0530, Shreenidhi Shedi wrote: > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > Hi all, > > This patch series backports a number of patches from master to 6.1.y > to fix `-Wdiscarded-qualifiers` and `-Wnonnull` build issues with > newer glibc versions. > > Arnaldo Carvalho de Melo (12): > perf diff: Constify strchr() return variables > perf test bpf: Address error about non-null argument for epoll_pwait > 2nd arg > perf trace: Deal with compiler const checks > perf tools: Use const for variables receiving str{str,r?chr}() returns > perf strlist: Don't write to const memory > perf metricgroup: Constify variables storing the result of strchr() on > const tables > perf session: Don't write to memory pointed to a const pointer > perf trace-event: Constify variables storing the result of strchr() on > const tables > perf units: Constify variables storing the result of strchr() on const > tables > perf time-utils: Constify variables storing the result of strchr() on > const tables > perf demangle-java: Constify variables storing the result of strchr() > on const tables > perf bpf-event: Constify variables storing the result of strchr() on > const tables > > Dr. David Alan Gilbert (1): > perf tools: Remove unused color_fwrite_lines > > Mikhail Gavrilov (1): > libbpf: Fix -Wdiscarded-qualifiers under C23 > > Shreenidhi Shedi (4): > perf list: Fix -Wdiscarded-qualifiers under C23 > perf parse-events: Fix -Wdiscarded-qualifiers under C23 > perf bpf: Fix -Wdiscarded-qualifiers under C23 > perf parse-events:: Fix -Wdiscarded-qualifiers under C23 > > tools/lib/bpf/libbpf.c | 2 +- > tools/perf/builtin-diff.c | 12 +++++------- > tools/perf/builtin-list.c | 3 ++- > tools/perf/builtin-trace.c | 2 +- > tools/perf/jvmti/libjvmti.c | 2 +- > tools/perf/tests/bpf.c | 3 ++- > tools/perf/util/bpf-event.c | 3 ++- > tools/perf/util/bpf-loader.c | 2 +- > tools/perf/util/color.c | 28 ---------------------------- > tools/perf/util/color.h | 1 - > tools/perf/util/demangle-java.c | 2 +- > tools/perf/util/evlist.c | 3 ++- > tools/perf/util/metricgroup.c | 3 +-- > tools/perf/util/parse-events.c | 2 +- > tools/perf/util/print-events.c | 4 ++-- > tools/perf/util/session.c | 6 +++--- > tools/perf/util/strlist.c | 12 ++++++++---- > tools/perf/util/time-utils.c | 4 ++-- > tools/perf/util/trace-event-info.c | 2 +- > tools/perf/util/units.c | 2 +- > 20 files changed, 37 insertions(+), 61 deletions(-) > > -- > 2.54.0 > This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.