Module Name: src Committed By: riastradh Date: Sun Dec 19 12:36:02 UTC 2021
Modified Files: src/sys/external/bsd/drm2/linux: linux_dma_resv.c Log Message: drm: Fix comment about dma_resv_lock_* return values. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/external/bsd/drm2/linux/linux_dma_resv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/external/bsd/drm2/linux/linux_dma_resv.c diff -u src/sys/external/bsd/drm2/linux/linux_dma_resv.c:1.20 src/sys/external/bsd/drm2/linux/linux_dma_resv.c:1.21 --- src/sys/external/bsd/drm2/linux/linux_dma_resv.c:1.20 Sun Dec 19 12:33:42 2021 +++ src/sys/external/bsd/drm2/linux/linux_dma_resv.c Sun Dec 19 12:36:02 2021 @@ -1,4 +1,4 @@ -/* $NetBSD: linux_dma_resv.c,v 1.20 2021/12/19 12:33:42 riastradh Exp $ */ +/* $NetBSD: linux_dma_resv.c,v 1.21 2021/12/19 12:36:02 riastradh Exp $ */ /*- * Copyright (c) 2018 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_dma_resv.c,v 1.20 2021/12/19 12:33:42 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_dma_resv.c,v 1.21 2021/12/19 12:36:02 riastradh Exp $"); #include <sys/param.h> #include <sys/poll.h> @@ -165,7 +165,7 @@ dma_resv_lock_slow(struct dma_resv *robj * Acquire a reservation object's lock. Return 0 on success, * -EALREADY if caller already holds it, -EDEADLK if a * higher-priority owner holds it and the caller must back out and - * retry, -ERESTART/-EINTR if interrupted. + * retry, -EINTR if interrupted. */ int dma_resv_lock_interruptible(struct dma_resv *robj, @@ -182,7 +182,7 @@ dma_resv_lock_interruptible(struct dma_r * this lock or any others -- this is to be used in slow paths * after dma_resv_lock or dma_resv_lock_interruptible has failed * and the caller has backed out all other locks. Return 0 on - * success, -ERESTART/-EINTR if interrupted. + * success, -EINTR if interrupted. */ int dma_resv_lock_slow_interruptible(struct dma_resv *robj,