Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/include/linux Call the parameter by it...



details:   https://anonhg.NetBSD.org/src/rev/b3e6e5b784fa
branches:  trunk
changeset: 834857:b3e6e5b784fa
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 06:42:17 2018 +0000

description:
Call the parameter by its name, not its nickname!

diffstat:

 sys/external/bsd/drm2/include/linux/jiffies.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r e599818c5a2e -r b3e6e5b784fa sys/external/bsd/drm2/include/linux/jiffies.h
--- a/sys/external/bsd/drm2/include/linux/jiffies.h     Mon Aug 27 06:42:00 2018 +0000
+++ b/sys/external/bsd/drm2/include/linux/jiffies.h     Mon Aug 27 06:42:17 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: jiffies.h,v 1.8 2018/08/27 06:18:41 riastradh Exp $    */
+/*     $NetBSD: jiffies.h,v 1.9 2018/08/27 06:42:17 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -46,7 +46,7 @@
 {
 
        /* XXX Arbitrary cutoff, should review the arithmetic.  */
-       if (((1000000000 % hz) == 0) || (ns >= 20000000000ul))
+       if (((1000000000 % hz) == 0) || (nsec >= 20000000000ul))
                return (nsec/1000000000)*hz;
        else
                return (nsec*hz)/1000000000;



Home | Main Index | Thread Index | Old Index