[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z117V4kXau6bHTRj@visitorckw-System-Product-Name>
Date: Sat, 14 Dec 2024 20:34:31 +0800
From: Kuan-Wei Chiu <visitorckw@...il.com>
To: Ian Rogers <irogers@...gle.com>
Cc: Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Mark Rutland <mark.rutland@....com>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Jiri Olsa <jolsa@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Kan Liang <kan.liang@...ux.intel.com>,
"Mike Rapoport (IBM)" <rppt@...nel.org>,
Wei Yang <richard.weiyang@...il.com>,
James Clark <james.clark@...aro.org>,
Howard Chu <howardchu95@...il.com>,
Kajol Jain <kjain@...ux.ibm.com>,
Athira Rajeev <atrajeev@...ux.vnet.ibm.com>,
Ze Gao <zegao2021@...il.com>, Weilin Wang <weilin.wang@...el.com>,
linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org
Subject: Re: [PATCH v1 5/8] tools headers: Add non-NULL assert to container_of
On Fri, Dec 13, 2024 at 01:04:22PM -0800, Ian Rogers wrote:
> container_of on a NULL may yield a non-NULL, confusion and errors.
>
> Signed-off-by: Ian Rogers <irogers@...gle.com>
Reviewed-by: Kuan-Wei Chiu <visitorckw@...il.com>
Regards,
Kuan-Wei
Powered by blists - more mailing lists