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/i915/gem i915: container_of(c...
details: https://anonhg.NetBSD.org/src/rev/46f53d36575f
branches: trunk
changeset: 1028566:46f53d36575f
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun Dec 19 11:20:25 2021 +0000
description:
i915: container_of(const) -> const_container_of
diffstat:
sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_busy.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 566a22405975 -r 46f53d36575f sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_busy.c
--- a/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_busy.c Sun Dec 19 11:20:18 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/gem/i915_gem_busy.c Sun Dec 19 11:20:25 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i915_gem_busy.c,v 1.2 2021/12/18 23:45:30 riastradh Exp $ */
+/* $NetBSD: i915_gem_busy.c,v 1.3 2021/12/19 11:20:25 riastradh Exp $ */
/*
* SPDX-License-Identifier: MIT
@@ -7,7 +7,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_gem_busy.c,v 1.2 2021/12/18 23:45:30 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_gem_busy.c,v 1.3 2021/12/19 11:20:25 riastradh Exp $");
#include "gt/intel_engine.h"
@@ -57,7 +57,7 @@
return 0;
/* opencode to_request() in order to avoid const warnings */
- rq = container_of(fence, const struct i915_request, fence);
+ rq = const_container_of(fence, struct i915_request, fence);
if (i915_request_completed(rq))
return 0;
Home |
Main Index |
Thread Index |
Old Index