Source-Changes-HG archive

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

[src/pgoyette-compat]: src/sys/dev/wscons Keep up with HEAD. The original ch...



details:   https://anonhg.NetBSD.org/src/rev/d96e7c9737e0
branches:  pgoyette-compat
changeset: 830590:d96e7c9737e0
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Jun 14 10:36:01 2018 +0000

description:
Keep up with HEAD.  The original change in the wsevent_50 compat code
has been moved to sys/time_types.h and will get picked up during the
next sync-with-HEAD

diffstat:

 sys/dev/wscons/wsevent_50.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r fc14c3f9819f -r d96e7c9737e0 sys/dev/wscons/wsevent_50.c
--- a/sys/dev/wscons/wsevent_50.c       Wed Jun 13 02:29:56 2018 +0000
+++ b/sys/dev/wscons/wsevent_50.c       Thu Jun 14 10:36:01 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsevent_50.c,v 1.1.2.2 2018/06/13 02:29:56 pgoyette Exp $ */
+/* $NetBSD: wsevent_50.c,v 1.1.2.3 2018/06/14 10:36:01 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2006, 2008 The NetBSD Foundation, Inc.
@@ -104,7 +104,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsevent_50.c,v 1.1.2.2 2018/06/13 02:29:56 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsevent_50.c,v 1.1.2.3 2018/06/14 10:36:01 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -134,9 +134,6 @@
 
                ev50.type = ev->type;
                ev50.value = ev->value;
-#if INT32_MAX < LONG_MAX       /* scrub padding */
-               memset(&ev50.time, 0, offsetof(struct timespec50, tv_nsec));
-#endif
                timespec_to_timespec50(&ev->time, &ev50.time);
 
                error = uiomove(&ev50, sizeof(ev50), uio);



Home | Main Index | Thread Index | Old Index