Source-Changes-HG archive

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

[src/trunk]: src/sys Some more empty-string --> NULL conversions for module d...



details:   https://anonhg.NetBSD.org/src/rev/8135a28b90f7
branches:  trunk
changeset: 998675:8135a28b90f7
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Apr 26 11:51:56 2019 +0000

description:
Some more empty-string --> NULL conversions for module dependencies

diffstat:

 sys/dev/ata/ata_raid.c |  6 +++---
 sys/net/agr/if_agr.c   |  6 +++---
 sys/net/if_gre.c       |  6 +++---
 sys/net/if_l2tp.c      |  6 +++---
 sys/net/if_stf.c       |  6 +++---
 sys/net/if_tap.c       |  6 +++---
 sys/net/if_vlan.c      |  6 +++---
 7 files changed, 21 insertions(+), 21 deletions(-)

diffs (174 lines):

diff -r c78052733817 -r 8135a28b90f7 sys/dev/ata/ata_raid.c
--- a/sys/dev/ata/ata_raid.c    Fri Apr 26 10:27:49 2019 +0000
+++ b/sys/dev/ata/ata_raid.c    Fri Apr 26 11:51:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ata_raid.c,v 1.41 2018/10/22 19:38:06 jdolecek Exp $   */
+/*     $NetBSD: ata_raid.c,v 1.42 2019/04/26 11:51:56 pgoyette Exp $   */
 
 /*
  * Copyright (c) 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.41 2018/10/22 19:38:06 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.42 2019/04/26 11:51:56 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -320,7 +320,7 @@
        return (error);
 }
 
-MODULE(MODULE_CLASS_DRIVER, ataraid, "");
+MODULE(MODULE_CLASS_DRIVER, ataraid, NULL);
  
 #ifdef _MODULE
 CFDRIVER_DECL(ataraid, DV_DISK, NULL);
diff -r c78052733817 -r 8135a28b90f7 sys/net/agr/if_agr.c
--- a/sys/net/agr/if_agr.c      Fri Apr 26 10:27:49 2019 +0000
+++ b/sys/net/agr/if_agr.c      Fri Apr 26 11:51:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_agr.c,v 1.48 2019/03/23 09:48:04 pgoyette Exp $     */
+/*     $NetBSD: if_agr.c,v 1.49 2019/04/26 11:51:56 pgoyette Exp $     */
 
 /*-
  * Copyright (c)2005 YAMAMOTO Takashi,
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_agr.c,v 1.48 2019/03/23 09:48:04 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_agr.c,v 1.49 2019/04/26 11:51:56 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1165,4 +1165,4 @@
  */
 #include <net/if_module.h>
 
-IF_MODULE(MODULE_CLASS_DRIVER, agr, "")
+IF_MODULE(MODULE_CLASS_DRIVER, agr, NULL)
diff -r c78052733817 -r 8135a28b90f7 sys/net/if_gre.c
--- a/sys/net/if_gre.c  Fri Apr 26 10:27:49 2019 +0000
+++ b/sys/net/if_gre.c  Fri Apr 26 11:51:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_gre.c,v 1.174 2019/04/17 07:47:56 msaitoh Exp $ */
+/*     $NetBSD: if_gre.c,v 1.175 2019/04/26 11:51:56 pgoyette Exp $ */
 
 /*
  * Copyright (c) 1998, 2008 The NetBSD Foundation, Inc.
@@ -45,7 +45,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.174 2019/04/17 07:47:56 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_gre.c,v 1.175 2019/04/26 11:51:56 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_atalk.h"
@@ -1476,4 +1476,4 @@
  */
 #include "if_module.h"
 
-IF_MODULE(MODULE_CLASS_DRIVER, gre, "")
+IF_MODULE(MODULE_CLASS_DRIVER, gre, NULL)
diff -r c78052733817 -r 8135a28b90f7 sys/net/if_l2tp.c
--- a/sys/net/if_l2tp.c Fri Apr 26 10:27:49 2019 +0000
+++ b/sys/net/if_l2tp.c Fri Apr 26 11:51:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_l2tp.c,v 1.33 2018/12/27 07:56:11 knakahara Exp $   */
+/*     $NetBSD: if_l2tp.c,v 1.34 2019/04/26 11:51:56 pgoyette Exp $    */
 
 /*
  * Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.33 2018/12/27 07:56:11 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_l2tp.c,v 1.34 2019/04/26 11:51:56 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1370,7 +1370,7 @@
  */
 #include "if_module.h"
 
-IF_MODULE(MODULE_CLASS_DRIVER, l2tp, "")
+IF_MODULE(MODULE_CLASS_DRIVER, l2tp, NULL)
 
 
 /* TODO: IP_TCPMSS support */
diff -r c78052733817 -r 8135a28b90f7 sys/net/if_stf.c
--- a/sys/net/if_stf.c  Fri Apr 26 10:27:49 2019 +0000
+++ b/sys/net/if_stf.c  Fri Apr 26 11:51:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_stf.c,v 1.105 2018/06/26 06:48:02 msaitoh Exp $     */
+/*     $NetBSD: if_stf.c,v 1.106 2019/04/26 11:51:56 pgoyette Exp $    */
 /*     $KAME: if_stf.c,v 1.62 2001/06/07 22:32:16 itojun Exp $ */
 
 /*
@@ -75,7 +75,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.105 2018/06/26 06:48:02 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_stf.c,v 1.106 2019/04/26 11:51:56 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -744,4 +744,4 @@
  */
 #include "if_module.h"
 
-IF_MODULE(MODULE_CLASS_DRIVER, stf, "")
+IF_MODULE(MODULE_CLASS_DRIVER, stf, NULL)
diff -r c78052733817 -r 8135a28b90f7 sys/net/if_tap.c
--- a/sys/net/if_tap.c  Fri Apr 26 10:27:49 2019 +0000
+++ b/sys/net/if_tap.c  Fri Apr 26 11:51:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tap.c,v 1.110 2019/04/16 04:26:02 msaitoh Exp $     */
+/*     $NetBSD: if_tap.c,v 1.111 2019/04/26 11:51:56 pgoyette Exp $    */
 
 /*
  *  Copyright (c) 2003, 2004, 2008, 2009 The NetBSD Foundation.
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.110 2019/04/16 04:26:02 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_tap.c,v 1.111 2019/04/26 11:51:56 pgoyette Exp $");
 
 #if defined(_KERNEL_OPT)
 
@@ -1426,4 +1426,4 @@
  */
 #include "if_module.h"
 
-IF_MODULE(MODULE_CLASS_DRIVER, tap, "")
+IF_MODULE(MODULE_CLASS_DRIVER, tap, NULL)
diff -r c78052733817 -r 8135a28b90f7 sys/net/if_vlan.c
--- a/sys/net/if_vlan.c Fri Apr 26 10:27:49 2019 +0000
+++ b/sys/net/if_vlan.c Fri Apr 26 11:51:56 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_vlan.c,v 1.134 2019/03/23 09:48:04 pgoyette Exp $   */
+/*     $NetBSD: if_vlan.c,v 1.135 2019/04/26 11:51:56 pgoyette Exp $   */
 
 /*
  * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.134 2019/03/23 09:48:04 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vlan.c,v 1.135 2019/04/26 11:51:56 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -1649,4 +1649,4 @@
  */
 #include "if_module.h"
 
-IF_MODULE(MODULE_CLASS_DRIVER, vlan, "")
+IF_MODULE(MODULE_CLASS_DRIVER, vlan, NULL)



Home | Main Index | Thread Index | Old Index