mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
net: bridge: multicast: fix br_multicast_eht_set_entry_lookup indentation
Fix the messed up indentation in br_multicast_eht_set_entry_lookup().
Fixes: baa74d39ca
("net: bridge: multicast: add EHT source set handling functions")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Link: https://lore.kernel.org/r/20210125082040.13022-1-razor@blackwall.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
02c2694090
commit
3e841bacf7
@ -85,15 +85,15 @@ br_multicast_eht_set_entry_lookup(struct net_bridge_group_eht_set *eht_set,
|
|||||||
struct net_bridge_group_eht_set_entry *this;
|
struct net_bridge_group_eht_set_entry *this;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
this = rb_entry(node, struct net_bridge_group_eht_set_entry,
|
this = rb_entry(node, struct net_bridge_group_eht_set_entry,
|
||||||
rb_node);
|
rb_node);
|
||||||
result = memcmp(h_addr, &this->h_addr, sizeof(*h_addr));
|
result = memcmp(h_addr, &this->h_addr, sizeof(*h_addr));
|
||||||
if (result < 0)
|
if (result < 0)
|
||||||
node = node->rb_left;
|
node = node->rb_left;
|
||||||
else if (result > 0)
|
else if (result > 0)
|
||||||
node = node->rb_right;
|
node = node->rb_right;
|
||||||
else
|
else
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
|
Loading…
Reference in New Issue
Block a user