Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: bridge: multicast: fix br_multicast_eht_set_entry_lookup indentation

Fix the messed up indentation in br_multicast_eht_set_entry_lookup().

Fixes: baa74d39ca39 ("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>

authored by

Nikolay Aleksandrov and committed by
Jakub Kicinski
3e841bac 02c26940

+9 -9
+9 -9
net/bridge/br_multicast_eht.c
··· 85 85 struct net_bridge_group_eht_set_entry *this; 86 86 int result; 87 87 88 - this = rb_entry(node, struct net_bridge_group_eht_set_entry, 89 - rb_node); 90 - result = memcmp(h_addr, &this->h_addr, sizeof(*h_addr)); 91 - if (result < 0) 92 - node = node->rb_left; 93 - else if (result > 0) 94 - node = node->rb_right; 95 - else 96 - return this; 88 + this = rb_entry(node, struct net_bridge_group_eht_set_entry, 89 + rb_node); 90 + result = memcmp(h_addr, &this->h_addr, sizeof(*h_addr)); 91 + if (result < 0) 92 + node = node->rb_left; 93 + else if (result > 0) 94 + node = node->rb_right; 95 + else 96 + return this; 97 97 } 98 98 99 99 return NULL;