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/dist/drm/nouveau/nvkm/subdev/therm Unf...



details:   https://anonhg.NetBSD.org/src/rev/276868e7f0c2
branches:  trunk
changeset: 992745:276868e7f0c2
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Mon Aug 27 07:40:31 2018 +0000

description:
Unfix a typo.

diffstat:

 sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/nouveau_nvkm_subdev_therm_temp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 3eb84e9e8e3a -r 276868e7f0c2 sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/nouveau_nvkm_subdev_therm_temp.c
--- a/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/nouveau_nvkm_subdev_therm_temp.c Mon Aug 27 07:40:22 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/nouveau_nvkm_subdev_therm_temp.c Mon Aug 27 07:40:31 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nouveau_nvkm_subdev_therm_temp.c,v 1.2 2018/08/27 04:58:35 riastradh Exp $     */
+/*     $NetBSD: nouveau_nvkm_subdev_therm_temp.c,v 1.3 2018/08/27 07:40:31 riastradh Exp $     */
 
 /*
  * Copyright 2012 The Nouveau community
@@ -24,7 +24,7 @@
  * Authors: Martin Peres
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nouveau_nvkm_subdev_therm_temp.c,v 1.2 2018/08/27 04:58:35 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nouveau_nvkm_subdev_therm_temp.c,v 1.3 2018/08/27 07:40:31 riastradh Exp $");
 
 #include "priv.h"
 
@@ -93,7 +93,7 @@
        };
        int temperature = therm->func->temp_get(therm);
 
-       if ((unsigned)thrs >= __arraycount(thresholds))
+       if ((unsigned)thrs >= __arraycount(thresolds))
                return;
 
        if (dir == NVKM_THERM_THRS_FALLING)



Home | Main Index | Thread Index | Old Index