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/linux Match argument name, and...
details: https://anonhg.NetBSD.org/src/rev/6281517c0910
branches: trunk
changeset: 1028121:6281517c0910
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 01:55:29 2021 +0000
description:
Match argument name, and uintptr_t has a size-match to void*, might be a better fit.
Author: Maya Rashish <maya%NetBSD.org@localhost>
diffstat:
sys/external/bsd/drm2/include/linux/timer.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 75fc6967a32b -r 6281517c0910 sys/external/bsd/drm2/include/linux/timer.h
--- a/sys/external/bsd/drm2/include/linux/timer.h Sun Dec 19 01:55:21 2021 +0000
+++ b/sys/external/bsd/drm2/include/linux/timer.h Sun Dec 19 01:55:29 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: timer.h,v 1.8 2021/12/19 01:16:21 riastradh Exp $ */
+/* $NetBSD: timer.h,v 1.9 2021/12/19 01:55:29 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -51,14 +51,14 @@
static inline void
timer_setup(struct timer_list *timer, void (*fn)(struct timer_list *),
- unsigned flags)
+ uintptr_t flags)
{
callout_init(&timer->tl_callout, 0);
/* XXX Super-sketchy casts! */
callout_setfunc(&timer->tl_callout, (void (*)(void *))(void *)fn,
- (void *)arg);
+ (void *)flags);
}
static inline void
Home |
Main Index |
Thread Index |
Old Index