Skip to contentSkip to conversation

fm10k:update driver summary and reduce code duplication

PATCH New Jacob Keller 2 participants 3 messages Mar 10, 2016 – Apr 13, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 fm10k:update driver summary and reduce code duplication

The following patch is a complete replacement for 2a7b5dd0e752 ("fm10k:
update driver summary and reduce code duplication", 2016-03-09) and the old version above should be dropped from the queue before applying this one. For reviewers convenience I have shown an interdiff of the two patches below.

drivers/net/ethernet/intel/fm10k/fm10k_main.c +1 -1
index c87613f1c7be..7832f9cdf743 100644
@@ -29,7 +29,7 @@
 #include "fm10k.h"
 
 #define DRV_VERSION	"0.19.3-k"
-#define DRV_SUMMARY	"Intel(R) Ethernet Multi-host Controller Driver"
+#define DRV_SUMMARY	"Intel(R) Ethernet Switch Host Interface Driver"
 const char fm10k_driver_version[] = DRV_VERSION;
 char fm10k_driver_name[] = "fm10k";
 static const char fm10k_driver_string[] = DRV_SUMMARY;

Jacob Keller (1):
fm10k: use DRV_SUMMARY to reduce code duplication

 drivers/net/ethernet/intel/fm10k/fm10k_main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.8.0.rc1.177.g5628860
#1 lore raw

PATCH v2 1/1 fm10k: use DRV_SUMMARY to reduce code duplication

Use DRV_SUMMARY, similar to DRV_VERSION so that we don't have to duplicate the driver summary in multiple places.

---

As per the summary this is a complete replacement for 2a7b5dd0e752 ("fm10k: update driver summary and reduce code duplication", 2016-03-09) and should thus replace that patch in the queue.

Notes:
- v2
* Don't change the driver summary

 drivers/net/ethernet/intel/fm10k/fm10k_main.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/net/ethernet/intel/fm10k/fm10k_main.c +3 -3
index 3a81c1451624..7832f9cdf743 100644
@@ -29,15 +29,15 @@
 #include "fm10k.h"
 
 #define DRV_VERSION	"0.19.3-k"
+#define DRV_SUMMARY	"Intel(R) Ethernet Switch Host Interface Driver"
 const char fm10k_driver_version[] = DRV_VERSION;
 char fm10k_driver_name[] = "fm10k";
-static const char fm10k_driver_string[] =
-	"Intel(R) Ethernet Switch Host Interface Driver";
+static const char fm10k_driver_string[] = DRV_SUMMARY;
 static const char fm10k_copyright[] =
 	"Copyright (c) 2013 Intel Corporation.";
 
 MODULE_AUTHOR("Intel Corporation, <[email protected]>");
-MODULE_DESCRIPTION("Intel(R) Ethernet Switch Host Interface Driver");
+MODULE_DESCRIPTION(DRV_SUMMARY);
 MODULE_LICENSE("GPL");
 MODULE_VERSION(DRV_VERSION);
 
Signature · 1 line
2.8.0.rc1.177.g5628860
#2 lore raw

PATCH v2 1/1 fm10k: use DRV_SUMMARY to reduce code duplication

-----Original Message-----
From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On Behalf Of Jacob Keller
Sent: Wednesday, March 9, 2016 4:36 PM
To: Intel Wired LAN <[email protected]>
Subject: [Intel-wired-lan] [PATCH v2] fm10k: use DRV_SUMMARY to reduce code duplication

Use DRV_SUMMARY, similar to DRV_VERSION so that we don't have to duplicate the driver summary in multiple places.

---