Re: [PATCH 3/4] audit: uninitialize static variables

2020-08-01 Thread Paul Moore
On Sat, Aug 1, 2020 at 2:46 PM Jules Irenge wrote: > > Checkpatch tool reports an error at variable declaration > > "ERROR: do not initialise statics to 0" > > This is due to the fact that these variables are stored in the buffer > In the .bss section, one can not set an initial value > Here we ca

[PATCH 3/4] audit: uninitialize static variables

2020-08-01 Thread Jules Irenge
Checkpatch tool reports an error at variable declaration "ERROR: do not initialise statics to 0" This is due to the fact that these variables are stored in the buffer In the .bss section, one can not set an initial value Here we can trust the compiler to automatically set them to zero. The variab