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/linux fence_referenced_p(): mark as __...



details:   https://anonhg.NetBSD.org/src/rev/8f7c612363da
branches:  trunk
changeset: 447272:8f7c612363da
user:      tnn <tnn%NetBSD.org@localhost>
date:      Sat Jan 05 22:24:24 2019 +0000

description:
fence_referenced_p(): mark as __diagused

diffstat:

 sys/external/bsd/drm2/linux/linux_fence.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 2c0ccc376f98 -r 8f7c612363da sys/external/bsd/drm2/linux/linux_fence.c
--- a/sys/external/bsd/drm2/linux/linux_fence.c Sat Jan 05 22:11:07 2019 +0000
+++ b/sys/external/bsd/drm2/linux/linux_fence.c Sat Jan 05 22:24:24 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_fence.c,v 1.13 2018/09/01 22:28:04 riastradh Exp $       */
+/*     $NetBSD: linux_fence.c,v 1.14 2019/01/05 22:24:24 tnn Exp $     */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_fence.c,v 1.13 2018/09/01 22:28:04 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_fence.c,v 1.14 2019/01/05 22:24:24 tnn Exp $");
 
 #include <sys/atomic.h>
 #include <sys/condvar.h>
@@ -58,7 +58,7 @@
  *     True if fence has a positive reference count.  True after
  *     fence_init; after the last fence_put, this becomes false.
  */
-static inline bool
+static inline bool __diagused
 fence_referenced_p(struct fence *fence)
 {
 



Home | Main Index | Thread Index | Old Index