Displaying 1 result from an estimated 1 matches for "e8569b04b55d".
2016 Sep 16
1
[PATCH] volt: use kernel's 64-bit signed division function
...exandre Courbot <acourbot at nvidia.com>
---
drm/nouveau/nvkm/subdev/volt/base.c | 6 +++---
lib/include/nvif/os.h | 1 +
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/drm/nouveau/nvkm/subdev/volt/base.c b/drm/nouveau/nvkm/subdev/volt/base.c
index 90d234231eed..e8569b04b55d 100644
--- a/drm/nouveau/nvkm/subdev/volt/base.c
+++ b/drm/nouveau/nvkm/subdev/volt/base.c
@@ -116,9 +116,9 @@ nvkm_volt_map(struct nvkm_volt *volt, u8 id, u8 temp)
return volt->speedo;
if (ver == 0x10 || (ver == 0x20 && info.mode == 0)) {
- result = (s64)info.arg[0] / 10;
-...