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/include/asm Update to new access_ok pr...
details: https://anonhg.NetBSD.org/src/rev/4c295a8c0ec4
branches: trunk
changeset: 1028593:4c295a8c0ec4
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:24:14 2021 +0000
description:
Update to new access_ok prototype
also... this function should probably do something
Author: Maya Rashish <maya%NetBSD.org@localhost>
Committer: Taylor R Campbell <riastradh%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/include/asm/uaccess.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r a5a3e83f1eb5 -r 4c295a8c0ec4 sys/external/bsd/drm2/include/asm/uaccess.h
--- a/sys/external/bsd/drm2/include/asm/uaccess.h Sun Dec 19 11:24:08 2021 +0000
+++ b/sys/external/bsd/drm2/include/asm/uaccess.h Sun Dec 19 11:24:14 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uaccess.h,v 1.8 2021/12/19 01:59:41 riastradh Exp $ */
+/* $NetBSD: uaccess.h,v 1.9 2021/12/19 11:24:14 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -42,8 +42,7 @@
#define VERIFY_READ 0
#define VERIFY_WRITE 1
static inline bool
-access_ok(int verify_op __unused, const void *uaddr __unused,
- size_t nbytes __unused)
+access_ok(const void *uaddr __unused, size_t nbytes __unused)
{
return true;
}
Home |
Main Index |
Thread Index |
Old Index