Module Name: src Committed By: macallan Date: Sat Feb 12 16:31:06 UTC 2022
Modified Files: src/sys/kern: subr_psref.c Log Message: more __diagused to appease clang To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/kern/subr_psref.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/kern/subr_psref.c diff -u src/sys/kern/subr_psref.c:1.17 src/sys/kern/subr_psref.c:1.18 --- src/sys/kern/subr_psref.c:1.17 Tue Feb 8 12:59:16 2022 +++ src/sys/kern/subr_psref.c Sat Feb 12 16:31:06 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: subr_psref.c,v 1.17 2022/02/08 12:59:16 riastradh Exp $ */ +/* $NetBSD: subr_psref.c,v 1.18 2022/02/12 16:31:06 macallan Exp $ */ /*- * Copyright (c) 2016 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: subr_psref.c,v 1.17 2022/02/08 12:59:16 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_psref.c,v 1.18 2022/02/12 16:31:06 macallan Exp $"); #include <sys/param.h> #include <sys/types.h> @@ -180,7 +180,7 @@ psref_cpu_drained_p(void *p, void *cooki *retp = false; } -static bool +static bool __diagused psref_class_drained_p(const struct psref_class *prc) { bool ret = true;