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 i915_scheduler.c: node_t...



details:   https://anonhg.NetBSD.org/src/rev/264ed97182c7
branches:  trunk
changeset: 1029092:264ed97182c7
user:      tnn <tnn%NetBSD.org@localhost>
date:      Tue Dec 21 12:06:29 2021 +0000

description:
i915_scheduler.c: node_to_request: duplicate 'const' declaration specifier

diffstat:

 sys/external/bsd/drm2/dist/drm/i915/i915_scheduler.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 5d79d1858ff6 -r 264ed97182c7 sys/external/bsd/drm2/dist/drm/i915/i915_scheduler.c
--- a/sys/external/bsd/drm2/dist/drm/i915/i915_scheduler.c      Tue Dec 21 12:00:40 2021 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/i915_scheduler.c      Tue Dec 21 12:06:29 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i915_scheduler.c,v 1.7 2021/12/19 12:12:47 riastradh Exp $     */
+/*     $NetBSD: i915_scheduler.c,v 1.8 2021/12/21 12:06:29 tnn Exp $   */
 
 /*
  * SPDX-License-Identifier: MIT
@@ -7,7 +7,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i915_scheduler.c,v 1.7 2021/12/19 12:12:47 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i915_scheduler.c,v 1.8 2021/12/21 12:06:29 tnn Exp $");
 
 #include <linux/mutex.h>
 
@@ -34,7 +34,7 @@
 static const struct i915_request *
 node_to_request(const struct i915_sched_node *node)
 {
-       return const_container_of(node, const struct i915_request, sched);
+       return const_container_of(node, struct i915_request, sched);
 }
 
 static inline bool node_started(const struct i915_sched_node *node)



Home | Main Index | Thread Index | Old Index