summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2022-07-25 08:06:45 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2022-07-25 08:06:45 +0000
commit3428e31346da1d072b70dcf46b2f00cbe96a0841 (patch)
tree21b74577157b8ccf2f0a0110e3ff760b0d09ea5c /sys
parent107c695b1750233672b58b6f2b144e1d27729eff (diff)
Fix annotation of smr_tqh_last
smr_tqh_last is not intended for lockless use with SMR_PTR_GET().
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/smr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/smr.h b/sys/sys/smr.h
index 9e64238398a..aebd6d748d5 100644
--- a/sys/sys/smr.h
+++ b/sys/sys/smr.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: smr.h,v 1.8 2020/09/29 16:40:33 mvs Exp $ */
+/* $OpenBSD: smr.h,v 1.9 2022/07/25 08:06:44 visa Exp $ */
/*
* Copyright (c) 2019 Visa Hankala
@@ -334,7 +334,7 @@ struct { \
#define SMR_TAILQ_HEAD(name, type) \
struct name { \
struct type *smr_tqh_first; /* first element, SMR-protected */\
- struct type **smr_tqh_last; /* last element, SMR-protected */\
+ struct type **smr_tqh_last; /* last element */ \
}
#define SMR_TAILQ_HEAD_INITIALIZER(head) \