Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Use ___STRING instead of __STRING to expand driv...



details:   https://anonhg.NetBSD.org/src/rev/a09532d457f1
branches:  trunk
changeset: 446864:a09532d457f1
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Dec 23 12:32:33 2018 +0000

description:
Use ___STRING instead of __STRING to expand driver version numbers properly

diffstat:

 sys/dev/pci/if_enavar.h |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 4fb932550e24 -r a09532d457f1 sys/dev/pci/if_enavar.h
--- a/sys/dev/pci/if_enavar.h   Sun Dec 23 12:18:30 2018 +0000
+++ b/sys/dev/pci/if_enavar.h   Sun Dec 23 12:32:33 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_enavar.h,v 1.6 2018/11/30 14:07:30 jmcneill Exp $   */
+/*     $NetBSD: if_enavar.h,v 1.7 2018/12/23 12:32:33 jmcneill Exp $   */
 
 /*-
  * BSD LICENSE
@@ -49,9 +49,9 @@
 
 #ifndef DRV_MODULE_VERSION
 #define DRV_MODULE_VERSION                             \
-       __STRING(DRV_MODULE_VER_MAJOR) "."              \
-       __STRING(DRV_MODULE_VER_MINOR) "."              \
-       __STRING(DRV_MODULE_VER_SUBMINOR)
+       ___STRING(DRV_MODULE_VER_MAJOR) "."             \
+       ___STRING(DRV_MODULE_VER_MINOR) "."             \
+       ___STRING(DRV_MODULE_VER_SUBMINOR)
 #endif
 #define DEVICE_NAME    "Elastic Network Adapter (ENA)"
 #define DEVICE_DESC    "ENA adapter"



Home | Main Index | Thread Index | Old Index