EDAC: remove unused structure members
Subsystems (14)
cover EDAC: remove unused structure members
Hi,
this series removes unused EDAC structure members as found by clang-struct (and manually checked by me).
I admit I could not even compile-test octeon files, hopefully kernel-test robot would catch mistakes in there.
Jiri Slaby (SUSE) (7):
EDAC/amd64: Remove amd64_pvt::ext_nbcfg
EDAC/device: Remove edac_dev_sysfs_block_attribute::{block,value} EDAC/device: Remove edac_dev_sysfs_block_attribute::store()
EDAC: Remove dynamic attributes from edac_device_alloc_ctl_info()
EDAC: Remove edac_pci_ctl_info::edac_subsys
EDAC: Remove edac_pci_ctl_info::complete
EDAC: Remove edac_device_ctl_info::removal_complete
drivers/edac/altera_edac.c | 8 ++--- drivers/edac/amd64_edac.h | 1 - drivers/edac/amd8111_edac.c | 3 +- drivers/edac/armada_xp_edac.c | 2 +- drivers/edac/cpc925_edac.c | 2 +- drivers/edac/edac_device.c | 53 ++------------------------------ drivers/edac/edac_device.h | 22 ++----------- drivers/edac/edac_device_sysfs.c | 22 ++----------- drivers/edac/edac_pci.h | 5 --- drivers/edac/highbank_l2_edac.c | 2 +- drivers/edac/mpc85xx_edac.c | 2 +- drivers/edac/octeon_edac-l2c.c | 2 +- drivers/edac/octeon_edac-pc.c | 2 +- drivers/edac/qcom_edac.c | 1 - drivers/edac/sifive_edac.c | 3 +- drivers/edac/thunderx_edac.c | 6 ++-- drivers/edac/xgene_edac.c | 10 +++--- drivers/edac/zynqmp_edac.c | 2 +- 18 files changed, 26 insertions(+), 122 deletions(-)
Signature · 1 line
2.43.1
PATCH 1/7 EDAC/amd64: Remove amd64_pvt::ext_nbcfg
Commit cfe40fdb4a46 (amd64_edac: add driver header) added amd64_pvt struct with ext_nbcfg in it. But noone used that member since then.
Therefore, remove it.
Found by https://github.com/jirislaby/clang-struct.
--- drivers/edac/amd64_edac.h | 1 - 1 file changed, 1 deletion(-)
drivers/edac/amd64_edac.h +0 -1
@@ -345,7 +345,6 @@ struct amd64_pvt {u32 dchr1;/* DRAM Configuration High DCT1 reg */ u32 nbcap;/* North Bridge Capabilities */ u32 nbcfg;/* F10 North Bridge Configuration */ -u32 ext_nbcfg;/* Extended F10 North Bridge Configuration */ u32 dhar;/* DRAM Hoist reg */ u32 dbam0;/* DRAM Base Address Mapping reg for DCT0 */ u32 dbam1;/* DRAM Base Address Mapping reg for DCT1 */
Signature · 1 line
2.43.1
PATCH 2/7 EDAC/device: Remove edac_dev_sysfs_block_attribute::{block,value}
In reply to Jiri Slaby (SUSE)It's unused. And it never was since its addition in fd309a9d8e63e (drivers/edac: fix leaf sysfs attribute). Drop it.
Found by https://github.com/jirislaby/clang-struct.
--- drivers/edac/edac_device.c | 2 -- drivers/edac/edac_device.h | 6 ------ 2 files changed, 8 deletions(-)
drivers/edac/edac_device.c +0 -2
@@ -162,8 +162,6 @@ edac_device_alloc_ctl_info(unsigned pvt_sz, char *dev_name, unsigned nr_instance attrib->show = attrib_spec[attr].show; attrib->store = attrib_spec[attr].store; - attrib->block = blk;/* up link */ - edac_dbg(4, "alloc-attrib=%p attrib_name='%s' attrib-spec=%p spec-name=%s\n", attrib, attrib->attr.name, &attrib_spec[attr],
drivers/edac/edac_device.h +0 -6
@@ -99,18 +99,12 @@ struct edac_dev_sysfs_attribute {* can have an array of the following. The show and store functions * will be filled in with the show/store function in the * low level driver. -* -* The 'value' field will be the actual value field used for -* counting */ struct edac_dev_sysfs_block_attribute {struct attribute attr;ssize_t (*show)(struct kobject *,struct attribute *,char *);ssize_t (*store)(struct kobject *,struct attribute *,const char *,size_t ); -struct edac_device_block *block; - -unsigned int value; };/* device block control structure */
Signature · 1 line
2.43.1
PATCH 3/7 EDAC/device: Remove edac_dev_sysfs_block_attribute::store()
In reply to Jiri Slaby (SUSE)Noone uses this store hook (both BLOCK_ATTR() pass NULL). It actually never was since its addition in fd309a9d8e63e (drivers/edac: fix leaf sysfs attribute), so drop it.
Found by https://github.com/jirislaby/clang-struct.
--- drivers/edac/edac_device.c | 1 - drivers/edac/edac_device.h | 9 +++------ drivers/edac/edac_device_sysfs.c | 22 +++------------------- 3 files changed, 6 insertions(+), 26 deletions(-)
drivers/edac/edac_device.c +0 -1
@@ -160,7 +160,6 @@ edac_device_alloc_ctl_info(unsigned pvt_sz, char *dev_name, unsigned nr_instance*/ attrib->attr = attrib_spec[attr].attr; attrib->show = attrib_spec[attr].show; - attrib->store = attrib_spec[attr].store; edac_dbg(4, "alloc-attrib=%p attrib_name='%s' attrib-spec=%p spec-name=%s\n", attrib, attrib->attr.name,
drivers/edac/edac_device.h +3 -6
@@ -95,16 +95,13 @@ struct edac_dev_sysfs_attribute {* * used in leaf 'block' nodes for adding controls/attributes * -* each block in each instance of the containing control structure -* can have an array of the following. The show and store functions -* will be filled in with the show/store function in the -* low level driver. +* each block in each instance of the containing control structure can +* have an array of the following. The show function will be filled in +* with the show function in the low level driver. */ struct edac_dev_sysfs_block_attribute {struct attribute attr;ssize_t (*show)(struct kobject *,struct attribute *,char *); -ssize_t (*store)(struct kobject *,struct attribute *, -const char *,size_t ); };/* device block control structure */
drivers/edac/edac_device_sysfs.c +3 -19
@@ -457,35 +457,19 @@ static ssize_t edac_dev_block_show(struct kobject *kobj,return -EIO ; } -/* Function to 'store' fields into the edac_dev 'block' structure */ -static ssize_t edac_dev_block_store (struct kobject *kobj, -struct attribute *attr, -const char *buffer,size_t count) -{ -struct edac_dev_sysfs_block_attribute *block_attr; - - block_attr =to_block_attr (attr); - -if (block_attr->store) -return block_attr->store (kobj, attr, buffer, count); -return -EIO ; -} -/* edac_dev file operations for a 'block' */ static const struct sysfs_ops device_block_ops = { .show = edac_dev_block_show, - .store = edac_dev_block_store }; -#define BLOCK_ATTR (_name,_mode,_show,_store) \ +#define BLOCK_ATTR (_name,_mode,_show) \ static struct edac_dev_sysfs_block_attribute attr_block_##_name = { \ .attr = {.name = __stringify(_name), .mode = _mode }, \ .show = _show, \ - .store = _store, \ }; -BLOCK_ATTR (ce_count,S_IRUGO , block_ce_count_show,NULL ); -BLOCK_ATTR (ue_count,S_IRUGO , block_ue_count_show,NULL ); +BLOCK_ATTR (ce_count,S_IRUGO , block_ce_count_show); +BLOCK_ATTR (ue_count,S_IRUGO , block_ue_count_show);/* list of edac_dev 'block' attributes */ static struct attribute *device_block_attrs[] = {
Signature · 1 line
2.43.1
PATCH 4/7 EDAC: Remove dynamic attributes from edac_device_alloc_ctl_info()
In reply to Jiri Slaby (SUSE)Dynamic attributes are not passed from any caller of edac_device_alloc_ctl_info(). Drop this unused/untested functionality completely.
--- drivers/edac/altera_edac.c | 8 ++---- drivers/edac/amd8111_edac.c | 3 +- drivers/edac/armada_xp_edac.c | 2 +- drivers/edac/cpc925_edac.c | 2 +- drivers/edac/edac_device.c | 50 ++------------------------------- drivers/edac/edac_device.h | 4 --- drivers/edac/highbank_l2_edac.c | 2 +- drivers/edac/mpc85xx_edac.c | 2 +- drivers/edac/octeon_edac-l2c.c | 2 +- drivers/edac/octeon_edac-pc.c | 2 +- drivers/edac/qcom_edac.c | 1 - drivers/edac/sifive_edac.c | 3 +- drivers/edac/thunderx_edac.c | 6 ++-- drivers/edac/xgene_edac.c | 10 +++---- drivers/edac/zynqmp_edac.c | 2 +- 15 files changed, 20 insertions(+), 79 deletions(-)
drivers/edac/altera_edac.c +3 -5
@@ -737,8 +737,7 @@ static int altr_edac_device_probe(struct platform_device *pdev) } dci =edac_device_alloc_ctl_info (sizeof (*drvdata), ecc_name, -1 , ecc_name,1 ,0 ,NULL ,0 , - dev_instance++); +1 , ecc_name,1 ,0 , dev_instance++);if (!dci) { edac_printk(KERN_ERR, EDAC_DEVICE,
@@ -1514,7 +1513,7 @@ static int altr_portb_setup(struct altr_edac_device_dev *device)/* Create the PortB EDAC device */ edac_idx =edac_device_alloc_index (); dci =edac_device_alloc_ctl_info (sizeof (*altdev), ecc_name,1 , - ecc_name,1 ,0 ,NULL ,0 , edac_idx); + ecc_name,1 ,0 , edac_idx);if (!dci) { edac_printk(KERN_ERR, EDAC_DEVICE, "%s: Unable to allocate PortB EDAC device\n",
@@ -1921,8 +1920,7 @@ static int altr_edac_a10_device_add(struct altr_arria10_edac *edac, edac_idx =edac_device_alloc_index (); dci =edac_device_alloc_ctl_info (sizeof (*altdev), ecc_name, -1 , ecc_name,1 ,0 ,NULL ,0 , - edac_idx); +1 , ecc_name,1 ,0 , edac_idx);if (!dci) { edac_printk(KERN_ERR, EDAC_DEVICE,
drivers/edac/amd8111_edac.c +1 -2
@@ -366,8 +366,7 @@ static int amd8111_dev_probe(struct pci_dev *dev, dev_info->edac_idx =edac_device_alloc_index (); dev_info->edac_dev =edac_device_alloc_ctl_info (0 , dev_info->ctl_name,1 , -NULL ,0 ,0 , -NULL ,0 , dev_info->edac_idx); +NULL ,0 ,0 , dev_info->edac_idx);if (!dev_info->edac_dev) { ret = -ENOMEM ; goto err_dev_put;
drivers/edac/armada_xp_edac.c +1 -1
@@ -523,7 +523,7 @@ static int aurora_l2_probe(struct platform_device *pdev)dev_warn (&pdev->dev,"data ECC is not enabled\n" ); dci =edac_device_alloc_ctl_info (sizeof (*drvdata), -"cpu" ,1 ,"L" ,1 ,2 ,NULL ,0 ,0 ); +"cpu" ,1 ,"L" ,1 ,2 ,0 );if (!dci)return -ENOMEM ;
drivers/edac/cpc925_edac.c +1 -1
@@ -797,7 +797,7 @@ static void cpc925_add_edac_devices(void __iomem *vbase) dev_info->edac_idx =edac_device_alloc_index (); dev_info->edac_dev =edac_device_alloc_ctl_info (0 , dev_info->ctl_name, -1 ,NULL ,0 ,0 ,NULL ,0 , dev_info->edac_idx); +1 ,NULL ,0 ,0 , dev_info->edac_idx);if (!dev_info->edac_dev) {cpc925_printk (KERN_ERR ,"No memory for edac device\n" ); goto err1;
drivers/edac/edac_device.c +2 -48
72 lines not on this page · raw message
drivers/edac/edac_device.h +0 -4
@@ -208,7 +208,6 @@ struct edac_device_ctl_info {u32 nr_instances;struct edac_device_instance *instances;struct edac_device_block *blocks; -struct edac_dev_sysfs_block_attribute *attribs;/* Event counters for the this whole EDAC Device */ struct edac_device_counter counters;
@@ -236,8 +235,6 @@ extern struct edac_device_ctl_info *edac_device_alloc_ctl_info( char *edac_device_name, unsigned nr_instances, char *edac_block_name, unsigned nr_blocks, unsigned offset_value, - struct edac_dev_sysfs_block_attribute *block_attributes, - unsigned nr_attribs, int device_index);/* The offset value can be:
@@ -347,7 +344,6 @@ static inline void __edac_device_free_ctl_info(struct edac_device_ctl_info *ci) {if (ci) {kfree (ci->pvt_info); -kfree (ci->attribs);kfree (ci->blocks);kfree (ci->instances);kfree (ci);
drivers/edac/highbank_l2_edac.c +1 -1
@@ -54,7 +54,7 @@ static int highbank_l2_err_probe(struct platform_device *pdev)int res =0 ; dci =edac_device_alloc_ctl_info (sizeof (*drvdata),"cpu" , -1 ,"L" ,1 ,2 ,NULL ,0 ,0 ); +1 ,"L" ,1 ,2 ,0 );if (!dci)return -ENOMEM ;
drivers/edac/mpc85xx_edac.c +1 -1
@@ -496,7 +496,7 @@ static int mpc85xx_l2_err_probe(struct platform_device *op)return -ENOMEM ; edac_dev =edac_device_alloc_ctl_info (sizeof (*pdata), -"cpu" ,1 ,"L" ,1 ,2 ,NULL ,0 , +"cpu" ,1 ,"L" ,1 ,2 , edac_dev_idx);if (!edac_dev) {devres_release_group (&op->dev, mpc85xx_l2_err_probe);
drivers/edac/octeon_edac-l2c.c +1 -1
@@ -138,7 +138,7 @@ static int octeon_l2c_probe(struct platform_device *pdev)/* 'Tags' are block 0, 'Data' is block 1*/ l2c =edac_device_alloc_ctl_info (0 ,"l2c" , num_tads,"l2c" ,2 ,0 , -NULL ,0 ,edac_device_alloc_index ()); +edac_device_alloc_index ());if (!l2c)return -ENOMEM ;
drivers/edac/octeon_edac-pc.c +1 -1
@@ -92,7 +92,7 @@ static int co_cache_error_probe(struct platform_device *pdev)platform_set_drvdata (pdev, p); p->ed =edac_device_alloc_ctl_info (0 ,"cpu" ,num_possible_cpus (), -"cache" ,2 ,0 ,NULL ,0 , +"cache" ,2 ,0 ,edac_device_alloc_index ());if (!p->ed) goto err;
drivers/edac/qcom_edac.c +0 -1
@@ -349,7 +349,6 @@ static int qcom_llcc_edac_probe(struct platform_device *pdev)/* Allocate edac control info */ edev_ctl =edac_device_alloc_ctl_info (0 ,"qcom-llcc" ,1 ,"bank" , llcc_driv_data->num_banks,1 , -NULL ,0 ,edac_device_alloc_index ());if (!edev_ctl)
drivers/edac/sifive_edac.c +1 -2
@@ -52,8 +52,7 @@ static int ecc_register(struct platform_device *pdev)platform_set_drvdata (pdev, p); p->dci =edac_device_alloc_ctl_info (0 ,"sifive_ecc" ,1 ,"sifive_ecc" , -1 ,1 ,NULL ,0 , -edac_device_alloc_index ()); +1 ,1 ,edac_device_alloc_index ());if (!p->dci)return -ENOMEM ;
drivers/edac/thunderx_edac.c +2 -4
@@ -1365,8 +1365,7 @@ static int thunderx_ocx_probe(struct pci_dev *pdev, idx =edac_device_alloc_index ();snprintf (name,sizeof (name),"OCX%d" , idx); edac_dev =edac_device_alloc_ctl_info (sizeof (struct thunderx_ocx ), - name,1 ,"CCPI" ,1 , -0 ,NULL ,0 , idx); + name,1 ,"CCPI" ,1 ,0 , idx);if (!edac_dev) {dev_err (&pdev->dev,"Cannot allocate EDAC device\n" );return -ENOMEM ;
@@ -2004,8 +2003,7 @@ static int thunderx_l2c_probe(struct pci_dev *pdev,snprintf (name,sizeof (name), fmt, idx); edac_dev =edac_device_alloc_ctl_info (sizeof (struct thunderx_l2c ), - name,1 ,"L2C" ,1 ,0 , -NULL ,0 , idx); + name,1 ,"L2C" ,1 ,0 , idx);if (!edac_dev) {dev_err (&pdev->dev,"Cannot allocate EDAC device\n" );return -ENOMEM ;
drivers/edac/xgene_edac.c +4 -6
@@ -913,8 +913,8 @@ static int xgene_edac_pmd_add(struct xgene_edac *edac, struct device_node *np,snprintf (edac_name,sizeof (edac_name),"l2c%d" , pmd); edac_dev =edac_device_alloc_ctl_info (sizeof (*ctx), - edac_name,1 ,"l2c" ,1 ,2 ,NULL , -0 ,edac_device_alloc_index ()); + edac_name,1 ,"l2c" ,1 ,2 , +edac_device_alloc_index ());if (!edac_dev) { rc = -ENOMEM ; goto err_group;
@@ -1208,8 +1208,7 @@ static int xgene_edac_l3_add(struct xgene_edac *edac, struct device_node *np, edac_idx =edac_device_alloc_index (); edac_dev =edac_device_alloc_ctl_info (sizeof (*ctx), -"l3c" ,1 ,"l3c" ,1 ,0 ,NULL ,0 , - edac_idx); +"l3c" ,1 ,"l3c" ,1 ,0 , edac_idx);if (!edac_dev) { rc = -ENOMEM ; goto err_release_group;
@@ -1748,8 +1747,7 @@ static int xgene_edac_soc_add(struct xgene_edac *edac, struct device_node *np, edac_idx =edac_device_alloc_index (); edac_dev =edac_device_alloc_ctl_info (sizeof (*ctx), -"SOC" ,1 ,"SOC" ,1 ,2 ,NULL ,0 , - edac_idx); +"SOC" ,1 ,"SOC" ,1 ,2 , edac_idx);if (!edac_dev) { rc = -ENOMEM ; goto err_release_group;
drivers/edac/zynqmp_edac.c +1 -1
@@ -381,7 +381,7 @@ static int edac_probe(struct platform_device *pdev) } dci =edac_device_alloc_ctl_info (sizeof (*priv),ZYNQMP_OCM_EDAC_STRING , -1 ,ZYNQMP_OCM_EDAC_STRING ,1 ,0 ,NULL ,0 , +1 ,ZYNQMP_OCM_EDAC_STRING ,1 ,0 ,edac_device_alloc_index ());if (!dci)return -ENOMEM ;
Signature · 1 line
2.43.1
PATCH 5/7 EDAC: Remove edac_pci_ctl_info::edac_subsys
In reply to Jiri Slaby (SUSE)It was never used since its addition in commit 91b99041c1d5 (drivers/edac: updated PCI monitoring). Drop it.
Found by https://github.com/jirislaby/clang-struct.
--- drivers/edac/edac_pci.h | 2 -- 1 file changed, 2 deletions(-)
drivers/edac/edac_pci.h +0 -2
@@ -48,8 +48,6 @@ struct edac_pci_ctl_info {int pci_idx; -struct bus_type *edac_subsys;/* pointer to subsystem */ -/* the internal state of this controller instance */ int op_state;/* work struct for this instance */
Signature · 1 line
2.43.1
PATCH 6/7 EDAC: Remove edac_pci_ctl_info::complete
In reply to Jiri Slaby (SUSE)edac_pci_ctl_info::complete is not used since commit 458e5ff13e1b (edac:
core: remove completion-wait for complete with rcu_barrier). Drop it.
Found by https://github.com/jirislaby/clang-struct.
--- drivers/edac/edac_pci.h | 3 --- 1 file changed, 3 deletions(-)
drivers/edac/edac_pci.h +0 -3
@@ -22,7 +22,6 @@#ifndef _EDAC_PCI_H_#define _EDAC_PCI_H_ -#include <linux/completion.h> #include <linux/device.h> #include <linux/edac.h> #include <linux/kobject.h>
@@ -70,8 +69,6 @@ struct edac_pci_ctl_info {unsigned long start_time;/* edac_pci load start time (jiffies) */ -struct completion complete; -/* sysfs top name under 'edac' directory * and instance name: * cpu/cpu0/...
Signature · 1 line
2.43.1
PATCH 7/7 EDAC: Remove edac_device_ctl_info::removal_complete
In reply to Jiri Slaby (SUSE)edac_device_ctl_info::removal_complete is not used since commit 458e5ff13e1b (edac: core: remove completion-wait for complete with rcu_barrier). Drop it.
Found by https://github.com/jirislaby/clang-struct.
--- drivers/edac/edac_device.h | 3 --- 1 file changed, 3 deletions(-)
drivers/edac/edac_device.h +0 -3
@@ -22,7 +22,6 @@#ifndef _EDAC_DEVICE_H_#define _EDAC_DEVICE_H_ -#include <linux/completion.h> #include <linux/device.h> #include <linux/edac.h> #include <linux/kobject.h>
@@ -191,8 +190,6 @@ struct edac_device_ctl_info {unsigned long start_time;/* edac_device load start time (jiffies) */ -struct completion removal_complete; -/* sysfs top name under 'edac' directory * and instance name: * cpu/cpu0/...
Signature · 1 line
2.43.1
Re: [PATCH 1/7] EDAC/amd64: Remove amd64_pvt::ext_nbcfg
In reply to Jiri Slaby (SUSE)Quoted 24 lines · Jiri Slaby (SUSE)
Commit
cfe40fdb4a46(amd64_edac: add driver header) addedamd64_pvtstruct withext_nbcfgin it. But noone used that member since then.Therefore, remove it.
Found by https://github.com/jirislaby/clang-struct.
Signed-off-by Jiri Slaby (SUSE) <[email protected]>Cc Yazen Ghannam <[email protected]>Cc Borislav Petkov <[email protected]>Cc Tony Luck <[email protected]>Cc James Morse <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>Cc Robert Richter <[email protected]>--- drivers/edac/amd64_edac.h | 1 - 1 file changed, 1 deletion(-)drivers/edac/amd64_edac.h +0
-0
drivers/edac/amd64_edac.h struct amd64_pvt { · line 350
Quoted 7 lines
drivers/edac/amd64_edac.h +0
-1@@ -345,7 +345,6 @@ struct amd64_pvt {u32 dchr1;/* DRAM Configuration High DCT1 reg */ u32 nbcap;/* North Bridge Capabilities */ u32 nbcfg;/* F10 North Bridge Configuration */ -u32 ext_nbcfg;/* Extended F10 North Bridge Configuration */ u32 dhar;/* DRAM Hoist reg */ u32 dbam0;/* DRAM Base Address Mapping reg for DCT0 */ u32 dbam1;/* DRAM Base Address Mapping reg for DCT1 */
This field likely was intended to be used with the EXT_NB_MCA_CFG definition. But I agree it's not used and can be removed.
Thanks,
Yazen
Any plans on looking into/commenting/merging this :)?
Quoted 60 lines · Jiri Slaby (SUSE)
Hi,
this series removes unused EDAC structure members as found by clang-struct (and manually checked by me).
I admit I could not even compile-test octeon files, hopefully kernel-test robot would catch mistakes in there.
Cc Andre Przywara <[email protected]>Cc Bjorn Andersson <[email protected]>Cc Borislav Petkov <[email protected]>Cc Dinh Nguyen <[email protected]>Cc Douglas Thompson <[email protected]>Cc James Morse <[email protected]>Cc Jan Luebbe <[email protected]>Cc Johannes Thumshirn <[email protected]>Cc Khuong Dinh <[email protected]>Cc Konrad Dybcio <[email protected]>Cc Manivannan Sadhasivam <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>Cc Michal Simek <[email protected]>Cc Palmer Dabbelt <[email protected]>Cc Paul Walmsley <[email protected]>Cc Ralf Baechle <[email protected]>Cc Robert Richter <[email protected]>Cc Sai Krishna Potthuri <[email protected]>Cc Shubhrajyoti Datta <[email protected]>Cc Tony Luck <[email protected]>Cc Yazen Ghannam <[email protected]>Jiri Slaby (SUSE) (7):
EDAC/amd64: Removeamd64_pvt::ext_nbcfg
EDAC/device: Remove edac_dev_sysfs_block_attribute::{block,value} EDAC/device: Removeedac_dev_sysfs_block_attribute::store()
EDAC: Remove dynamic attributes fromedac_device_alloc_ctl_info()
EDAC: Removeedac_pci_ctl_info::edac_subsys
EDAC: Removeedac_pci_ctl_info::complete
EDAC: Removeedac_device_ctl_info::removal_completedrivers/edac/altera_edac.c | 8 ++--- drivers/edac/amd64_edac.h | 1 - drivers/edac/amd8111_edac.c | 3 +- drivers/edac/armada_xp_edac.c | 2 +- drivers/edac/cpc925_edac.c | 2 +- drivers/edac/edac_device.c | 53 ++------------------------------ drivers/edac/edac_device.h | 22 ++----------- drivers/edac/edac_device_sysfs.c | 22 ++----------- drivers/edac/edac_pci.h | 5 --- drivers/edac/highbank_l2_edac.c | 2 +- drivers/edac/mpc85xx_edac.c | 2 +- drivers/edac/octeon_edac-l2c.c | 2 +- drivers/edac/octeon_edac-pc.c | 2 +- drivers/edac/qcom_edac.c | 1 - drivers/edac/sifive_edac.c | 3 +- drivers/edac/thunderx_edac.c | 6 ++-- drivers/edac/xgene_edac.c | 10 +++--- drivers/edac/zynqmp_edac.c | 2 +- 18 files changed, 26 insertions(+), 122 deletions(-)
Signature · 2 lines
js suse labs
Borislav Petkov
maintainerQuoted 1 line · Jiri Slaby
Any plans on looking into/commenting/merging this :)?
Plans: yes, time: none.
You're on the todo list tho.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteBorislav Petkov
maintainerQuoted 8 lines · Jiri Slaby (SUSE)
Jiri Slaby (SUSE) (7):
EDAC/amd64: Removeamd64_pvt::ext_nbcfg
EDAC/device: Remove edac_dev_sysfs_block_attribute::{block,value} EDAC/device: Removeedac_dev_sysfs_block_attribute::store()
EDAC: Remove dynamic attributes fromedac_device_alloc_ctl_info()
EDAC: Removeedac_pci_ctl_info::edac_subsys
EDAC: Removeedac_pci_ctl_info::complete
EDAC: Removeedac_device_ctl_info::removal_complete
All applied, the last three squashed into one patch.
Thx.
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette