lkml.org 
[lkml]   [2022]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][next] perf/x86/rapl: replace 0 with NULL to initialize pointers
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.

\
 
 \ /
  Last update: 2022-01-25 22:33    [W:1.031 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site