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 2C0C2364952 for ; Mon, 11 May 2026 08:16:18 +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=1778487379; cv=none; b=hiI3nN1IkLFHYZLmurAwkGR1LBdItPEuy7A9m8/4qS2XedRUdc5dHEUMN5CIhhwwLdMwyT4Nu77MEw7meUbWSsxOCquayDikAPEgO6cU7q+E/MTh3JMzv4K/fW5CWr9/sxKzUZ0eoc195keH+hw4tL87633XQ4Wq3bNokWZwVT0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778487379; c=relaxed/simple; bh=ZKCTD3DchRhhUD3MGMgckTD/kjP+6/tW6yT90f6+Rio=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=o9yMm2fXbRr7PWT4V4JouZ+6zax3PnZUc9btV/46Ph/BFrxm+1hDe4FSuzn8vpNygruJSADXAusp7Op933qGHRahuOAsQk4Z+5QydFtYgq28icKXog02cba4regVGxfAnglC8BfrMUuCpvdL99pz/l/anjesYLF3TeT1hYXE8q8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dwkQTjPP; 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="dwkQTjPP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8FE2FC2BCB0; Mon, 11 May 2026 08:16:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778487378; bh=ZKCTD3DchRhhUD3MGMgckTD/kjP+6/tW6yT90f6+Rio=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dwkQTjPPQlGFi6dtWY0gL948pdZsfx0cRRIpEFGvg96cNrC10sSI73H6suggpVAyJ twL4TUzq4PsPMR+ipc0s8R7OhrrYs9FEA0wuaBL0PTUGJGt2LpWy80P/2niguReYob FR/TBgke/HBbZJhbAe3YoeHXxhbCe6yZM3qdH5Qw= Date: Mon, 11 May 2026 10:16:15 +0200 From: Greg KH To: Shreenidhi Shedi Cc: acme@kernel.org, linux@treblig.org, mikhail.v.gavrilov@gmail.com, stable@vger.kernel.org Subject: Re: [PATCH 6.1.y v2 00/18] Backport fixes for -Wdiscarded-qualifiers and -Wnonnull with newer glibc Message-ID: <2026051124-wildlife-entrust-5690@gregkh> References: <20260511071051.537859-1-yesshedi@gmail.com> Precedence: bulk X-Mailing-List: stable@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: <20260511071051.537859-1-yesshedi@gmail.com> On Mon, May 11, 2026 at 12:40:33PM +0530, Shreenidhi Shedi wrote: > 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. > > I will port these changes to other stable trees once this gets reviewed. You need to do this first for newer kernel trees, and only if they are accepted there, should you do this for older ones as you do not want to have regressions moving to newer kernels, right? But first, why do this at all? You should always be using the latest kernel version of perf on older kernels, especially if you are updating glibc. And if you update glibc, WHY ARE YOU NOT UPDATING YOUR KERNEL? Why would you be using an old kernel tree like this? That's very odd, please do not do that. thanks, greg k-h