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 No arithmetic on void *.
details: https://anonhg.NetBSD.org/src/rev/57214dd48452
branches: trunk
changeset: 992495:57214dd48452
user: riastradh <riastradh%NetBSD.org@localhost>
date: Mon Aug 27 06:47:19 2018 +0000
description:
No arithmetic on void *.
diffstat:
sys/external/bsd/drm2/dist/drm/drm_dp_helper.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e83b4939571c -r 57214dd48452 sys/external/bsd/drm2/dist/drm/drm_dp_helper.c
--- a/sys/external/bsd/drm2/dist/drm/drm_dp_helper.c Mon Aug 27 06:46:55 2018 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_dp_helper.c Mon Aug 27 06:47:19 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_dp_helper.c,v 1.6 2018/08/27 06:46:32 riastradh Exp $ */
+/* $NetBSD: drm_dp_helper.c,v 1.7 2018/08/27 06:47:19 riastradh Exp $ */
/*
* Copyright © 2009 Keith Packard
@@ -23,7 +23,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_dp_helper.c,v 1.6 2018/08/27 06:46:32 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_dp_helper.c,v 1.7 2018/08/27 06:47:19 riastradh Exp $");
#include <linux/kernel.h>
#include <linux/module.h>
@@ -666,7 +666,7 @@
}
msg.size -= err;
- msg.buffer += err;
+ msg.buffer = (void *)((char *)msg.buffer + err);
}
return ret;
Home |
Main Index |
Thread Index |
Old Index