Module Name: src
Committed By: riastradh
Date: Mon Aug 27 07:40:31 UTC 2018
Modified Files:
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm:
nouveau_nvkm_subdev_therm_temp.c
Log Message:
Unfix a typo.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/nouveau_nvkm_subdev_therm_temp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/nouveau_nvkm_subdev_therm_temp.c
diff -u src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/nouveau_nvkm_subdev_therm_temp.c:1.2 src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/nouveau_nvkm_subdev_therm_temp.c:1.3
--- src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/nouveau_nvkm_subdev_therm_temp.c:1.2 Mon Aug 27 04:58:35 2018
+++ src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/nouveau_nvkm_subdev_therm_temp.c Mon Aug 27 07:40:31 2018
@@ -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 @@ nvkm_therm_sensor_event(struct nvkm_ther
};
int temperature = therm->func->temp_get(therm);
- if ((unsigned)thrs >= __arraycount(thresholds))
+ if ((unsigned)thrs >= __arraycount(thresolds))
return;
if (dir == NVKM_THERM_THRS_FALLING)