Source-Changes-HG archive

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

[src/trunk]: src/sys/modules WARNS=3 for compat_netbsd32_* in order to appeas...



details:   https://anonhg.NetBSD.org/src/rev/4a29aac9e66d
branches:  trunk
changeset: 997054:4a29aac9e66d
user:      rin <rin%NetBSD.org@localhost>
date:      Wed Feb 20 05:11:30 2019 +0000

description:
WARNS=3 for compat_netbsd32_* in order to appease sign-compare warnings
for mips64, where NETBSD32_POINTER_TYPE is signed.

diffstat:

 sys/modules/compat_netbsd32_09/Makefile         |  6 +++++-
 sys/modules/compat_netbsd32_12/Makefile         |  6 +++++-
 sys/modules/compat_netbsd32_13/Makefile         |  6 +++++-
 sys/modules/compat_netbsd32_16/Makefile         |  6 +++++-
 sys/modules/compat_netbsd32_20/Makefile         |  6 +++++-
 sys/modules/compat_netbsd32_30/Makefile         |  6 +++++-
 sys/modules/compat_netbsd32_40/Makefile         |  6 +++++-
 sys/modules/compat_netbsd32_60/Makefile         |  6 +++++-
 sys/modules/compat_netbsd32_80/Makefile         |  6 +++++-
 sys/modules/compat_netbsd32_mqueue/Makefile     |  6 +++++-
 sys/modules/compat_netbsd32_nfssrv/Makefile     |  6 +++++-
 sys/modules/compat_netbsd32_ptrace/Makefile     |  6 +++++-
 sys/modules/compat_netbsd32_raid/Makefile       |  6 +++++-
 sys/modules/compat_netbsd32_sysvipc/Makefile    |  6 +++++-
 sys/modules/compat_netbsd32_sysvipc_10/Makefile |  6 +++++-
 sys/modules/compat_netbsd32_sysvipc_14/Makefile |  6 +++++-
 sys/modules/compat_netbsd32_sysvipc_50/Makefile |  6 +++++-
 17 files changed, 85 insertions(+), 17 deletions(-)

diffs (truncated from 306 to 300 lines):

diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_09/Makefile
--- a/sys/modules/compat_netbsd32_09/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_09/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:45 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:30 rin Exp $
 
 .include "../Makefile.inc"
 
@@ -14,4 +14,8 @@
 
 SRCS+= netbsd32_compat_09.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_12/Makefile
--- a/sys/modules/compat_netbsd32_12/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_12/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:45 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:30 rin Exp $
 
 .include "../Makefile.inc"
 
@@ -14,4 +14,8 @@
 
 SRCS+= netbsd32_compat_12.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_13/Makefile
--- a/sys/modules/compat_netbsd32_13/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_13/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:45 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:30 rin Exp $
 
 .include "../Makefile.inc"
 
@@ -23,4 +23,8 @@
 SRCS+=  netbsd32_machdep_13.c
 .endif
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_16/Makefile
--- a/sys/modules/compat_netbsd32_16/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_16/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:46 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:30 rin Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -25,4 +25,8 @@
 SRCS+= netbsd32_machdep_16.c
 .endif
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_20/Makefile
--- a/sys/modules/compat_netbsd32_20/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_20/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:46 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:30 rin Exp $
 
 .include "../Makefile.inc"
 
@@ -13,4 +13,8 @@
 
 SRCS+= netbsd32_compat_20.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_30/Makefile
--- a/sys/modules/compat_netbsd32_30/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_30/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:46 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:30 rin Exp $
 
 .include "../Makefile.inc"
 
@@ -14,4 +14,8 @@
 
 SRCS+= netbsd32_compat_30.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_40/Makefile
--- a/sys/modules/compat_netbsd32_40/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_40/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:46 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:31 rin Exp $
 
 .include "../Makefile.inc"
 
@@ -12,4 +12,8 @@
 
 SRCS+= netbsd32_compat_40.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_60/Makefile
--- a/sys/modules/compat_netbsd32_60/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_60/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:46 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:31 rin Exp $
 
 .include "../Makefile.inc"
 
@@ -12,4 +12,8 @@
 
 SRCS+= netbsd32_compat_60.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_80/Makefile
--- a/sys/modules/compat_netbsd32_80/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_80/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:46 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:31 rin Exp $
 
 .include "../Makefile.inc"
 
@@ -12,4 +12,8 @@
 
 SRCS+= netbsd32_compat_80.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_mqueue/Makefile
--- a/sys/modules/compat_netbsd32_mqueue/Makefile       Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_mqueue/Makefile       Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2018/11/26 08:48:43 mlelstv Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:31 rin Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -12,4 +12,8 @@
 .PATH: ${S}/compat/netbsd32
 SRCS+= netbsd32_mqueue.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_nfssrv/Makefile
--- a/sys/modules/compat_netbsd32_nfssrv/Makefile       Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_nfssrv/Makefile       Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2018/11/26 08:48:43 mlelstv Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:31 rin Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -12,4 +12,8 @@
 .PATH: ${S}/compat/netbsd32
 SRCS+= netbsd32_nfssvc.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_ptrace/Makefile
--- a/sys/modules/compat_netbsd32_ptrace/Makefile       Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_ptrace/Makefile       Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2018/11/26 08:48:43 mlelstv Exp $
+#      $NetBSD: Makefile,v 1.4 2019/02/20 05:11:31 rin Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -12,4 +12,8 @@
 .PATH: ${S}/compat/netbsd32
 SRCS+= netbsd32_ptrace.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_raid/Makefile
--- a/sys/modules/compat_netbsd32_raid/Makefile Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_raid/Makefile Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1 2019/02/03 08:02:25 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.2 2019/02/20 05:11:31 rin Exp $
 
 .include "../Makefile.inc"
 
@@ -10,4 +10,8 @@
 
 SRCS+= rf_compat32.c 
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_sysvipc/Makefile
--- a/sys/modules/compat_netbsd32_sysvipc/Makefile      Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_sysvipc/Makefile      Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2019/01/27 02:08:46 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.4 2019/02/20 05:11:31 rin Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -14,4 +14,8 @@
 
 SRCS+= netbsd32_ipc.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_sysvipc_10/Makefile
--- a/sys/modules/compat_netbsd32_sysvipc_10/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_sysvipc_10/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:46 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:31 rin Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -14,4 +14,8 @@
 
 SRCS+= netbsd32_compat_10_sysv.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_sysvipc_14/Makefile
--- a/sys/modules/compat_netbsd32_sysvipc_14/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_sysvipc_14/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:47 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:31 rin Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -14,4 +14,8 @@
 
 SRCS+= netbsd32_compat_14_sysv.c
 
+.if !empty(MACHINE_ARCH:Mmips64*)
+WARNS= 3
+.endif
+
 .include <bsd.kmodule.mk>
diff -r daa97acddb0b -r 4a29aac9e66d sys/modules/compat_netbsd32_sysvipc_50/Makefile
--- a/sys/modules/compat_netbsd32_sysvipc_50/Makefile   Wed Feb 20 04:49:08 2019 +0000
+++ b/sys/modules/compat_netbsd32_sysvipc_50/Makefile   Wed Feb 20 05:11:30 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.2 2019/01/27 02:08:47 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.3 2019/02/20 05:11:32 rin Exp $
 
 .include "../Makefile.inc"
 .include "../Makefile.assym"
@@ -14,4 +14,8 @@
 
 SRCS+= netbsd32_compat_50_sysv.c



Home | Main Index | Thread Index | Old Index