The patch titled drivers/edac: remove null from statics has been added to the -mm tree. Its filename is driver-edac-remove-null-from-statics.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: drivers/edac: remove null from statics From: Douglas Thompson <dougthompson@xxxxxxxxxxxx> Patches to conform to coding style, namely static don't need to be initialized to NULL nor '0', as that is the default Signed-off-by: Douglas Thompson <dougthompson@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/edac/edac_mc_sysfs.c | 2 +- drivers/edac/edac_module.c | 2 +- drivers/edac/edac_pci.c | 2 +- drivers/edac/edac_pci_sysfs.c | 4 ++-- drivers/edac/i3000_edac.c | 2 +- drivers/edac/i82860_edac.c | 2 +- drivers/edac/i82875p_edac.c | 2 +- drivers/edac/r82600_edac.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff -puN drivers/edac/edac_mc_sysfs.c~driver-edac-remove-null-from-statics drivers/edac/edac_mc_sysfs.c --- a/drivers/edac/edac_mc_sysfs.c~driver-edac-remove-null-from-statics +++ a/drivers/edac/edac_mc_sysfs.c @@ -17,7 +17,7 @@ /* MC EDAC Controls, setable by module parameter, and sysfs */ static int edac_mc_log_ue = 1; static int edac_mc_log_ce = 1; -static int edac_mc_panic_on_ue = 0; +static int edac_mc_panic_on_ue; static int edac_mc_poll_msec = 1000; /* Getter functions for above */ diff -puN drivers/edac/edac_module.c~driver-edac-remove-null-from-statics drivers/edac/edac_module.c --- a/drivers/edac/edac_module.c~driver-edac-remove-null-from-statics +++ a/drivers/edac/edac_module.c @@ -32,7 +32,7 @@ struct workqueue_struct *edac_workqueue; static struct sysdev_class edac_class = { set_kset_name("edac"), }; -static int edac_class_valid = 0; +static int edac_class_valid; /* * edac_op_state_toString() diff -puN drivers/edac/edac_pci.c~driver-edac-remove-null-from-statics drivers/edac/edac_pci.c --- a/drivers/edac/edac_pci.c~driver-edac-remove-null-from-statics +++ a/drivers/edac/edac_pci.c @@ -385,7 +385,7 @@ void edac_pci_generic_check(struct edac_ edac_pci_do_parity_check(); } -static int edac_pci_idx = 0; +static int edac_pci_idx; #define EDAC_PCI_GENCTL_NAME "EDAC PCI controller" struct edac_pci_gen_data { diff -puN drivers/edac/edac_pci_sysfs.c~driver-edac-remove-null-from-statics drivers/edac/edac_pci_sysfs.c --- a/drivers/edac/edac_pci_sysfs.c~driver-edac-remove-null-from-statics +++ a/drivers/edac/edac_pci_sysfs.c @@ -17,8 +17,8 @@ #define EDAC_PCI_SYMLINK "device" -static int check_pci_errors = 0; /* default YES check PCI parity */ -static int edac_pci_panic_on_pe = 0; /* default no panic on PCI Parity */ +static int check_pci_errors; /* default YES check PCI parity */ +static int edac_pci_panic_on_pe; /* default no panic on PCI Parity */ static int edac_pci_log_pe = 1; /* log PCI parity errors */ static int edac_pci_log_npe = 1; /* log PCI non-parity error errors */ static atomic_t pci_parity_count = ATOMIC_INIT(0); diff -puN drivers/edac/i3000_edac.c~driver-edac-remove-null-from-statics drivers/edac/i3000_edac.c --- a/drivers/edac/i3000_edac.c~driver-edac-remove-null-from-statics +++ a/drivers/edac/i3000_edac.c @@ -151,7 +151,7 @@ static const struct i3000_dev_info i3000 .ctl_name = "i3000"}, }; -static struct pci_dev *mci_pdev = NULL; +static struct pci_dev *mci_pdev; static int i3000_registered = 1; static struct edac_pci_ctl_info *i3000_pci; diff -puN drivers/edac/i82860_edac.c~driver-edac-remove-null-from-statics drivers/edac/i82860_edac.c --- a/drivers/edac/i82860_edac.c~driver-edac-remove-null-from-statics +++ a/drivers/edac/i82860_edac.c @@ -57,7 +57,7 @@ static const struct i82860_dev_info i828 .ctl_name = "i82860"}, }; -static struct pci_dev *mci_pdev = NULL; /* init dev: in case that AGP code +static struct pci_dev *mci_pdev; /* init dev: in case that AGP code * has already registered driver */ static struct edac_pci_ctl_info *i82860_pci; diff -puN drivers/edac/i82875p_edac.c~driver-edac-remove-null-from-statics drivers/edac/i82875p_edac.c --- a/drivers/edac/i82875p_edac.c~driver-edac-remove-null-from-statics +++ a/drivers/edac/i82875p_edac.c @@ -177,7 +177,7 @@ static const struct i82875p_dev_info i82 .ctl_name = "i82875p"}, }; -static struct pci_dev *mci_pdev = NULL; /* init dev: in case that AGP code has +static struct pci_dev *mci_pdev; /* init dev: in case that AGP code has * already registered driver */ diff -puN drivers/edac/r82600_edac.c~driver-edac-remove-null-from-statics drivers/edac/r82600_edac.c --- a/drivers/edac/r82600_edac.c~driver-edac-remove-null-from-statics +++ a/drivers/edac/r82600_edac.c @@ -131,7 +131,7 @@ struct r82600_error_info { u32 eapr; }; -static unsigned int disable_hardware_scrub = 0; +static unsigned int disable_hardware_scrub; static struct edac_pci_ctl_info *r82600_pci; _ Patches currently in -mm which might be from dougthompson@xxxxxxxxxxxx are drivers-edac-add-edac_mc_find-api.patch drivers-edac-add-rddr2-memory-types.patch drivers-edac-split-out-functions-to-unique-files.patch drivers-edac-add-edac_device-class.patch drivers-edac-mc-sysfs-add-missing-mem-types.patch drivers-edac-change-from-semaphore-to-mutex-operation.patch drivers-edac-coreh-fix-scrubdefs.patch drivers-edac-new-i82443bxgz-mc-driver.patch drivers-edac-add-new-nmi-rescan.patch drivers-edac-mod-use-edac_coreh.patch drivers-edac-add-dev_name-getter-function.patch drivers-edac-new-inte-30x0-mc-driver.patch drivers-edac-mod-mc-to-use-workq-instead-of-kthread.patch drivers-edac-updated-pci-monitoring.patch drivers-edac-mod-assert_error-check.patch drivers-edac-core-lindent-cleanup.patch drivers-edac-edac_device-sysfs-cleanup.patch drivers-edac-cleanup-workq-ifdefs.patch drivers-edac-lindent-amd76x.patch drivers-edac-lindent-i5000.patch drivers-edac-lindent-e7xxx.patch drivers-edac-lindent-i3000.patch drivers-edac-lindent-i82860.patch drivers-edac-lindent-i82875p.patch drivers-edac-lindent-e752x.patch drivers-edac-lindent-i82443bxgx.patch drivers-edac-lindent-r82600.patch drivers-edac-drivers-to-use-new-pci-operation.patch drivers-edac-add-device-sysfs-attributes.patch drivers-edac-device-output-clenaup.patch drivers-edac-add-info-kconfig.patch drivers-edac-update-maintainers-files-for-edac.patch drivers-edac-cleanup-spaces-gotos-after-lindent-messup.patch driver-edac-add-mips-and-ppc-visibility.patch driver-edac-mod-race-fix-i82875p.patch driver-edac-fix-ignored-return-i82875p.patch include-linux-pci_id-h-add-amd-northbridge-defines.patch driver-edac-i5000-define-typo.patch driver-edac-remove-null-from-statics.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html