fm10k:update driver summary and reduce code duplication
Subsystems (2)
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
@@ -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
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
@@ -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
Singh
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.
---