Pass lock objects, not their addresses, to the annotation macros.
Signed-off-by: William Tu <[email protected]>
---
lib/vlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/vlog.c b/lib/vlog.c
index 6d17d4837e9c..ee6b0d3a620a 100644
--- a/lib/vlog.c
+++ b/lib/vlog.c
@@ -257,7 +257,7 @@ vlog_get_level(const struct vlog_module *module,
}
static void
-update_min_level(struct vlog_module *module) OVS_REQUIRES(&log_file_mutex)
+update_min_level(struct vlog_module *module) OVS_REQUIRES(log_file_mutex)
{
enum vlog_destination destination;
--
2.7.4
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev