public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] edac: remove .c suffix from the mod name
@ 2013-09-14  4:12 Xie XiuQi
  2013-09-14  4:14 ` [PATCH 1/5] i5000_edac: " Xie XiuQi
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Xie XiuQi @ 2013-09-14  4:12 UTC (permalink / raw)
  To: Doug Thompson, Mauro Carvalho Chehab
  Cc: Linux Edac Mailing List, linux-kernel@vger.kernel.org

I found some edac drivers used 'xxx_edac.c' as mod name,
but others used 'xxx_edac'. So remove .c suffix.

Xie XiuQi (5):
  i5000_edac: remove .c suffix from the mod name
  i5100_edac: remove .c suffix from the mod name
  i5400_edac: remove .c suffix from the mod name
  i7300_edac: remove .c suffix from the mod name
  i7core_edac: remove .c suffix from the mod name

 drivers/edac/i5000_edac.c  | 2 +-
 drivers/edac/i5100_edac.c  | 4 +++-
 drivers/edac/i5400_edac.c  | 2 +-
 drivers/edac/i7300_edac.c  | 2 +-
 drivers/edac/i7core_edac.c | 2 +-
 5 files changed, 7 insertions(+), 5 deletions(-)

-- 
1.8.2.2



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH 1/5] i5000_edac: remove .c suffix from the mod name
  2013-09-14  4:12 [PATCH 0/5] edac: remove .c suffix from the mod name Xie XiuQi
@ 2013-09-14  4:14 ` Xie XiuQi
  2013-09-14  4:15 ` [PATCH 2/5] i5100_edac: " Xie XiuQi
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Xie XiuQi @ 2013-09-14  4:14 UTC (permalink / raw)
  To: Doug Thompson, Mauro Carvalho Chehab
  Cc: Linux Edac Mailing List, linux-kernel@vger.kernel.org

I found i5000_edac driver used 'xxx_edac.c' as mod name,
but others used 'xxx_edac'. So remove .c suffix.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
---
 drivers/edac/i5000_edac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/i5000_edac.c b/drivers/edac/i5000_edac.c
index 63b2194..1a649c8 100644
--- a/drivers/edac/i5000_edac.c
+++ b/drivers/edac/i5000_edac.c
@@ -1429,7 +1429,7 @@ static int i5000_probe1(struct pci_dev *pdev, int dev_idx)
 	mci->mtype_cap = MEM_FLAG_FB_DDR2;
 	mci->edac_ctl_cap = EDAC_FLAG_NONE;
 	mci->edac_cap = EDAC_FLAG_NONE;
-	mci->mod_name = "i5000_edac.c";
+	mci->mod_name = EDAC_MOD_STR;
 	mci->mod_ver = I5000_REVISION;
 	mci->ctl_name = i5000_devs[dev_idx].ctl_name;
 	mci->dev_name = pci_name(pdev);
-- 
1.8.2.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 2/5] i5100_edac: remove .c suffix from the mod name
  2013-09-14  4:12 [PATCH 0/5] edac: remove .c suffix from the mod name Xie XiuQi
  2013-09-14  4:14 ` [PATCH 1/5] i5000_edac: " Xie XiuQi
@ 2013-09-14  4:15 ` Xie XiuQi
  2013-09-14  4:16 ` [PATCH 3/5] i5400_edac: " Xie XiuQi
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Xie XiuQi @ 2013-09-14  4:15 UTC (permalink / raw)
  To: Doug Thompson, Mauro Carvalho Chehab
  Cc: Linux Edac Mailing List, linux-kernel@vger.kernel.org

I found i5100_edac driver used 'xxx_edac.c' as mod name,
but others used 'xxx_edac'. So remove .c suffix.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
---
 drivers/edac/i5100_edac.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/edac/i5100_edac.c b/drivers/edac/i5100_edac.c
index 157b934..b50f52a 100644
--- a/drivers/edac/i5100_edac.c
+++ b/drivers/edac/i5100_edac.c
@@ -31,6 +31,8 @@

 #include "edac_core.h"

+#define EDAC_MOD_STR      "i5100_edac"
+
 /* register addresses */

 /* device 16, func 1 */
@@ -1117,7 +1119,7 @@ static int i5100_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
 	mci->mtype_cap = MEM_FLAG_FB_DDR2;
 	mci->edac_ctl_cap = EDAC_FLAG_SECDED;
 	mci->edac_cap = EDAC_FLAG_SECDED;
-	mci->mod_name = "i5100_edac.c";
+	mci->mod_name = EDAC_MOD_STR;
 	mci->mod_ver = "not versioned";
 	mci->ctl_name = "i5100";
 	mci->dev_name = pci_name(pdev);
-- 
1.8.2.2




^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 3/5] i5400_edac: remove .c suffix from the mod name
  2013-09-14  4:12 [PATCH 0/5] edac: remove .c suffix from the mod name Xie XiuQi
  2013-09-14  4:14 ` [PATCH 1/5] i5000_edac: " Xie XiuQi
  2013-09-14  4:15 ` [PATCH 2/5] i5100_edac: " Xie XiuQi
@ 2013-09-14  4:16 ` Xie XiuQi
  2013-09-14  4:17 ` [PATCH 4/5] i7300_edac: " Xie XiuQi
  2013-09-14  4:18 ` [PATCH 5/5] i7core_edac: " Xie XiuQi
  4 siblings, 0 replies; 6+ messages in thread
From: Xie XiuQi @ 2013-09-14  4:16 UTC (permalink / raw)
  To: Doug Thompson, Mauro Carvalho Chehab
  Cc: Linux Edac Mailing List, linux-kernel@vger.kernel.org

I found i5400_edac driver used 'xxx_edac.c' as mod name,
but others used 'xxx_edac'. So remove .c suffix.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
---
 drivers/edac/i5400_edac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/i5400_edac.c b/drivers/edac/i5400_edac.c
index 0a05bbc..c68da9a 100644
--- a/drivers/edac/i5400_edac.c
+++ b/drivers/edac/i5400_edac.c
@@ -1313,7 +1313,7 @@ static int i5400_probe1(struct pci_dev *pdev, int dev_idx)
 	mci->mtype_cap = MEM_FLAG_FB_DDR2;
 	mci->edac_ctl_cap = EDAC_FLAG_NONE;
 	mci->edac_cap = EDAC_FLAG_NONE;
-	mci->mod_name = "i5400_edac.c";
+	mci->mod_name = EDAC_MOD_STR;
 	mci->mod_ver = I5400_REVISION;
 	mci->ctl_name = i5400_devs[dev_idx].ctl_name;
 	mci->dev_name = pci_name(pdev);
-- 
1.8.2.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 4/5] i7300_edac: remove .c suffix from the mod name
  2013-09-14  4:12 [PATCH 0/5] edac: remove .c suffix from the mod name Xie XiuQi
                   ` (2 preceding siblings ...)
  2013-09-14  4:16 ` [PATCH 3/5] i5400_edac: " Xie XiuQi
@ 2013-09-14  4:17 ` Xie XiuQi
  2013-09-14  4:18 ` [PATCH 5/5] i7core_edac: " Xie XiuQi
  4 siblings, 0 replies; 6+ messages in thread
From: Xie XiuQi @ 2013-09-14  4:17 UTC (permalink / raw)
  To: Doug Thompson, Mauro Carvalho Chehab
  Cc: Linux Edac Mailing List, linux-kernel@vger.kernel.org

I found i7300_edac driver used 'xxx_edac.c' as mod name,
but others used 'xxx_edac'. So remove .c suffix.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
---
 drivers/edac/i7300_edac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/i7300_edac.c b/drivers/edac/i7300_edac.c
index 9004c64..e863fb2 100644
--- a/drivers/edac/i7300_edac.c
+++ b/drivers/edac/i7300_edac.c
@@ -1074,7 +1074,7 @@ static int i7300_init_one(struct pci_dev *pdev, const struct pci_device_id *id)
 	mci->mtype_cap = MEM_FLAG_FB_DDR2;
 	mci->edac_ctl_cap = EDAC_FLAG_NONE;
 	mci->edac_cap = EDAC_FLAG_NONE;
-	mci->mod_name = "i7300_edac.c";
+	mci->mod_name = EDAC_MOD_STR;
 	mci->mod_ver = I7300_REVISION;
 	mci->ctl_name = i7300_devs[0].ctl_name;
 	mci->dev_name = pci_name(pdev);
-- 
1.8.2.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH 5/5] i7core_edac: remove .c suffix from the mod name
  2013-09-14  4:12 [PATCH 0/5] edac: remove .c suffix from the mod name Xie XiuQi
                   ` (3 preceding siblings ...)
  2013-09-14  4:17 ` [PATCH 4/5] i7300_edac: " Xie XiuQi
@ 2013-09-14  4:18 ` Xie XiuQi
  4 siblings, 0 replies; 6+ messages in thread
From: Xie XiuQi @ 2013-09-14  4:18 UTC (permalink / raw)
  To: Doug Thompson, Mauro Carvalho Chehab
  Cc: Linux Edac Mailing List, linux-kernel@vger.kernel.org

I found i7core_edac driver used 'xxx_edac.c' as mod name,
but others used 'xxx_edac'. So remove .c suffix.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
---
 drivers/edac/i7core_edac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/i7core_edac.c b/drivers/edac/i7core_edac.c
index 80a963d..92f24e9 100644
--- a/drivers/edac/i7core_edac.c
+++ b/drivers/edac/i7core_edac.c
@@ -2233,7 +2233,7 @@ static int i7core_register_mci(struct i7core_dev *i7core_dev)
 	mci->mtype_cap = MEM_FLAG_DDR3;
 	mci->edac_ctl_cap = EDAC_FLAG_NONE;
 	mci->edac_cap = EDAC_FLAG_NONE;
-	mci->mod_name = "i7core_edac.c";
+	mci->mod_name = EDAC_MOD_STR;
 	mci->mod_ver = I7CORE_REVISION;
 	mci->ctl_name = kasprintf(GFP_KERNEL, "i7 core #%d",
 				  i7core_dev->socket);
-- 
1.8.2.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-09-14  4:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-14  4:12 [PATCH 0/5] edac: remove .c suffix from the mod name Xie XiuQi
2013-09-14  4:14 ` [PATCH 1/5] i5000_edac: " Xie XiuQi
2013-09-14  4:15 ` [PATCH 2/5] i5100_edac: " Xie XiuQi
2013-09-14  4:16 ` [PATCH 3/5] i5400_edac: " Xie XiuQi
2013-09-14  4:17 ` [PATCH 4/5] i7300_edac: " Xie XiuQi
2013-09-14  4:18 ` [PATCH 5/5] i7core_edac: " Xie XiuQi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox