tree:   https://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas.git 
topic/ravb-gigabit
head:   434fe0e99b1f7855e0b43ec7b90dd4566d9114c3
commit: 434fe0e99b1f7855e0b43ec7b90dd4566d9114c3 [45/45] Merge branches 
'topic/ravb-gigabit-integration' and 'topic/ravb-gigabit-driver-v2' into 
topic/ravb-gigabit
config: m68k-sun3_defconfig (attached as .config)
compiler: m68k-linux-gcc (GCC) 4.9.0
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 434fe0e99b1f7855e0b43ec7b90dd4566d9114c3
        # save the attached .config to linux build tree
        make.cross ARCH=m68k 

All errors (new ones prefixed by >>):

   net/mpls/af_mpls.c: In function 'mpls_select_multipath':
>> net/mpls/af_mpls.c:207:9: error: too few arguments to function 
>> 'mpls_multipath_hash'
     hash = mpls_multipath_hash(rt, skb);
            ^
   net/mpls/af_mpls.c:122:12: note: declared here
    static u32 mpls_multipath_hash(struct mpls_route *rt,
               ^

vim +/mpls_multipath_hash +207 net/mpls/af_mpls.c

9f427a0e David Ahern  2017-01-20  191                                        
struct sk_buff *skb)
c89359a4 Roopa Prabhu 2015-12-01  192  {
c89359a4 Roopa Prabhu 2015-12-01  193   int alive = 
ACCESS_ONCE(rt->rt_nhn_alive);
c89359a4 Roopa Prabhu 2015-12-01  194   u32 hash = 0;
c89359a4 Roopa Prabhu 2015-12-01  195   int nh_index = 0;
c89359a4 Roopa Prabhu 2015-12-01  196   int n = 0;
c89359a4 Roopa Prabhu 2015-12-01  197  
c89359a4 Roopa Prabhu 2015-12-01  198   /* No need to look further into packet 
if there's only
c89359a4 Roopa Prabhu 2015-12-01  199    * one path
c89359a4 Roopa Prabhu 2015-12-01  200    */
c89359a4 Roopa Prabhu 2015-12-01  201   if (rt->rt_nhn == 1)
c89359a4 Roopa Prabhu 2015-12-01  202           goto out;
c89359a4 Roopa Prabhu 2015-12-01  203  
c89359a4 Roopa Prabhu 2015-12-01  204   if (alive <= 0)
c89359a4 Roopa Prabhu 2015-12-01  205           return NULL;
c89359a4 Roopa Prabhu 2015-12-01  206  
9f427a0e David Ahern  2017-01-20 @207   hash = mpls_multipath_hash(rt, skb);
c89359a4 Roopa Prabhu 2015-12-01  208   nh_index = hash % alive;
c89359a4 Roopa Prabhu 2015-12-01  209   if (alive == rt->rt_nhn)
c89359a4 Roopa Prabhu 2015-12-01  210           goto out;
c89359a4 Roopa Prabhu 2015-12-01  211   for_nexthops(rt) {
c89359a4 Roopa Prabhu 2015-12-01  212           if (nh->nh_flags & (RTNH_F_DEAD 
| RTNH_F_LINKDOWN))
c89359a4 Roopa Prabhu 2015-12-01  213                   continue;
c89359a4 Roopa Prabhu 2015-12-01  214           if (n == nh_index)
c89359a4 Roopa Prabhu 2015-12-01  215                   return nh;

:::::: The code at line 207 was first introduced by commit
:::::: 9f427a0e474a67b454420c131709600d44850486 net: mpls: Fix multipath 
selection for LSR use case

:::::: TO: David Ahern <[email protected]>
:::::: CC: David S. Miller <[email protected]>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to