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/efb7c6f9b0e5
branches:  trunk
changeset: 995446:efb7c6f9b0e5
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 366f32369066 -r efb7c6f9b0e5 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