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/drm Name fp->f_data in drm_cl...
details: https://anonhg.NetBSD.org/src/rev/a2469027eed9
branches: riastradh-drm2
changeset: 788123:a2469027eed9
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:20:52 2013 +0000
description:
Name fp->f_data in drm_close for clarity.
diffstat:
sys/external/bsd/drm2/drm/drm_drv.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r b9a41c0851d3 -r a2469027eed9 sys/external/bsd/drm2/drm/drm_drv.c
--- a/sys/external/bsd/drm2/drm/drm_drv.c Wed Jul 24 02:20:38 2013 +0000
+++ b/sys/external/bsd/drm2/drm/drm_drv.c Wed Jul 24 02:20:52 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: drm_drv.c,v 1.1.2.2 2013/07/24 02:19:53 riastradh Exp $ */
+/* $NetBSD: drm_drv.c,v 1.1.2.3 2013/07/24 02:20:52 riastradh Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: drm_drv.c,v 1.1.2.2 2013/07/24 02:19:53 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: drm_drv.c,v 1.1.2.3 2013/07/24 02:20:52 riastradh Exp $");
#include <sys/param.h>
#include <sys/types.h>
@@ -328,9 +328,10 @@
static int
drm_close(struct file *fp)
{
+ struct drm_file *const file = fp->f_data;
/* XXX errno Linux->NetBSD */
- return -drm_close_file(fp->f_data);
+ return -drm_close_file(file);
}
/*
Home |
Main Index |
Thread Index |
Old Index