mirror of
https://github.com/openvswitch/ovs
synced 2025-09-05 08:45:23 +00:00
Merge "master" into "next".
The main change here is the need to update all of the uses of UNUSED in the next branch to OVS_UNUSED as it is now spelled on "master".
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2009 Nicira Networks.
|
||||
* Copyright (c) 2009, 2010 Nicira Networks.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -30,8 +30,8 @@
|
||||
static unsigned int epoch;
|
||||
|
||||
static void
|
||||
coverage_unixctl_log(struct unixctl_conn *conn, const char *args UNUSED,
|
||||
void *aux UNUSED)
|
||||
coverage_unixctl_log(struct unixctl_conn *conn, const char *args OVS_UNUSED,
|
||||
void *aux OVS_UNUSED)
|
||||
{
|
||||
coverage_log(VLL_WARN, false);
|
||||
unixctl_command_reply(conn, 200, NULL);
|
||||
@@ -109,7 +109,7 @@ coverage_hit(uint32_t hash)
|
||||
unsigned int word_mask = 1u << (bit_index % BITS_PER_WORD);
|
||||
|
||||
if (hit[word_index] & word_mask) {
|
||||
return true;
|
||||
return true;
|
||||
} else {
|
||||
hit[word_index] |= word_mask;
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user