Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/include/linux Define __user t...
details: https://anonhg.NetBSD.org/src/rev/78d72c77a575
branches: riastradh-drm2
changeset: 788003:78d72c77a575
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 00:50:51 2013 +0000
description:
Define __user to be empty in <linux/kernel.h>.
__user qualifies a pointer into userspace for static analyzers.
diffstat:
sys/external/bsd/drm2/include/linux/kernel.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 7a73127b5714 -r 78d72c77a575 sys/external/bsd/drm2/include/linux/kernel.h
--- a/sys/external/bsd/drm2/include/linux/kernel.h Wed Jul 24 00:50:36 2013 +0000
+++ b/sys/external/bsd/drm2/include/linux/kernel.h Wed Jul 24 00:50:51 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kernel.h,v 1.1.2.3 2013/07/24 00:49:32 riastradh Exp $ */
+/* $NetBSD: kernel.h,v 1.1.2.4 2013/07/24 00:50:51 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -35,6 +35,7 @@
#include <sys/cdefs.h>
#define __printf __printflike
+#define __user
#define container_of(PTR, TYPE, FIELD) \
((TYPE *)(((char *)(PTR)) - offsetof(TYPE, FIELD)))
Home |
Main Index |
Thread Index |
Old Index