From: Carlo Perassi Subject: [KJ] [PATCH] ieee1394 - uninitialize static variables - nodemgr One of the tasks at http://janitor.kernelnewbies.org/TODO is described as " uninitialize static variables initialized to 0, to make it go to the .bss, instead of .data. " To proof that it is still guaranteed that those variables will be initialized to zero Tom Bradley (on the kernel-janitors mailing list) wrote " the default for gcc is `-fzero-initialized-in-bss', the kernel makefile does not change this therefore bss is zeroed, this is documented in the gcc manpage. " and David P Howell added that " By definition .bss is always zero'ed by the implementation. " This patch uninitializes a static int initialized to 0. Signed-off-by: Carlo Perassi --- nodemgr.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: quilt/drivers/ieee1394/nodemgr.c =================================================================== --- quilt.orig/drivers/ieee1394/nodemgr.c +++ quilt/drivers/ieee1394/nodemgr.c @@ -30,7 +30,7 @@ #include "csr.h" #include "nodemgr.h" -static int ignore_drivers = 0; +static int ignore_drivers; module_param(ignore_drivers, int, 0444); MODULE_PARM_DESC(ignore_drivers, "Disable automatic probing for drivers.");