From: visa Date: Mon, 25 Jul 2022 08:06:44 +0000 (+0000) Subject: Fix annotation of smr_tqh_last X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=4ead40c16e478c3ab68ef6ad9fa07fb0414bd5a7;p=openbsd Fix annotation of smr_tqh_last smr_tqh_last is not intended for lockless use with SMR_PTR_GET(). --- 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) \