Messages in this thread | | | Date | Sun, 28 Nov 2021 08:33:26 +0800 | From | kernel test robot <> | Subject | net/bridge/br_private.h:901 br_multicast_rport_from_node_skb() warn: inconsistent indenting |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4f0dda359c4563cbb1b0f97b0dbbcdc553156541 commit: 9632233e7de8da43711bb7cd3e054af32fedcc38 net: bridge: multicast: factor out port multicast context date: 4 months ago config: x86_64-randconfig-m031-20211124 (https://download.01.org/0day-ci/archive/20211128/202111280833.ZMtzx8zW-lkp@intel.com/config) compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@intel.com>
New smatch warnings: net/bridge/br_private.h:901 br_multicast_rport_from_node_skb() warn: inconsistent indenting
Old smatch warnings: net/bridge/br_forward.c:317 br_multicast_flood() error: we previously assumed 'p' could be null (see line 293)
vim +901 net/bridge/br_private.h
890 891 static inline struct net_bridge_port * 892 br_multicast_rport_from_node_skb(struct hlist_node *rp, struct sk_buff *skb) { 893 struct net_bridge_mcast_port *mctx; 894 895 #if IS_ENABLED(CONFIG_IPV6) 896 if (skb->protocol == htons(ETH_P_IPV6)) 897 mctx = hlist_entry_safe(rp, struct net_bridge_mcast_port, 898 ip6_rlist); 899 else 900 #endif > 901 mctx = hlist_entry_safe(rp, struct net_bridge_mcast_port, 902 ip4_rlist); 903 904 if (mctx) 905 return mctx->port; 906 else 907 return NULL; 908 } 909
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
| |