Re: [PATCH][next] perf/x86/rapl: replace 0 with NULL to initialize pointers

From: Peter Zijlstra
Date: Tue Jan 25 2022 - 16:32:56 EST


On Tue, Jan 25, 2022 at 08:14:03PM +0000, Colin Ian King wrote:
> Pointers should be initialized with NULL rather than zero. Fix these.

Why ? This isn't C++, heck, this isn't even C, this is the kernel, we
hard rely on NULL being 0.