[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251218085551.GK3707891@noisy.programming.kicks-ass.net>
Date: Thu, 18 Dec 2025 09:55:51 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: mingo@...hat.com, acme@...nel.org, namhyung@...nel.org,
linux-kernel@...r.kernel.org, Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>, Ian Rogers <irogers@...gle.com>,
Adrian Hunter <adrian.hunter@...el.com>,
James Clark <james.clark@...aro.org>,
Thomas Gleixner <tglx@...utronix.de>,
Borislav Petkov <bp@...en8.de>,
Dave Hansen <dave.hansen@...ux.intel.com>, x86@...nel.org,
"H. Peter Anvin" <hpa@...or.com>, linux-perf-users@...r.kernel.org
Subject: Re: [PATCH] perf/x86/uncore: clean up const mismatch
On Wed, Dec 17, 2025 at 01:42:41PM +0100, Greg Kroah-Hartman wrote:
> In some cmp functions, a const pointer is cast out to a non-const
> pointer by using container_of() which is not correct. Fix this up by
> properly marking the pointers as const, which preserves the correct
> type of the pointer passed into the functions.
How did you find this? My builds do not complain and all that.
Powered by blists - more mailing lists