Hi Alexander,

I love your patch! Yet something to improve:

[auto build test ERROR on net-next/master]

url:    
https://github.com/0day-ci/linux/commits/Alexander-Aring/net-sched-sch-introduce-extack-support/20171217-015839
config: x86_64-randconfig-x003-201751 (attached as .config)
compiler: gcc-7 (Debian 7.2.0-12) 7.2.1 20171025
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

>> net//sched/sch_atm.c:679:11: error: initialization from incompatible pointer 
>> type [-Werror=incompatible-pointer-types]
     .init  = atm_tc_init,
              ^~~~~~~~~~~
   net//sched/sch_atm.c:679:11: note: (near initialization for 
'atm_qdisc_ops.init')
   cc1: some warnings being treated as errors

vim +679 net//sched/sch_atm.c

^1da177e4 Linus Torvalds  2005-04-16  671  
20fea08b5 Eric Dumazet    2007-11-14  672  static struct Qdisc_ops 
atm_qdisc_ops __read_mostly = {
^1da177e4 Linus Torvalds  2005-04-16  673       .cl_ops         = 
&atm_class_ops,
^1da177e4 Linus Torvalds  2005-04-16  674       .id             = "atm",
^1da177e4 Linus Torvalds  2005-04-16  675       .priv_size      = sizeof(struct 
atm_qdisc_data),
^1da177e4 Linus Torvalds  2005-04-16  676       .enqueue        = 
atm_tc_enqueue,
^1da177e4 Linus Torvalds  2005-04-16  677       .dequeue        = 
atm_tc_dequeue,
8e3af9789 Jarek Poplawski 2008-10-31  678       .peek           = atm_tc_peek,
^1da177e4 Linus Torvalds  2005-04-16 @679       .init           = atm_tc_init,
^1da177e4 Linus Torvalds  2005-04-16  680       .reset          = atm_tc_reset,
^1da177e4 Linus Torvalds  2005-04-16  681       .destroy        = 
atm_tc_destroy,
^1da177e4 Linus Torvalds  2005-04-16  682       .dump           = atm_tc_dump,
^1da177e4 Linus Torvalds  2005-04-16  683       .owner          = THIS_MODULE,
^1da177e4 Linus Torvalds  2005-04-16  684  };
^1da177e4 Linus Torvalds  2005-04-16  685  

:::::: The code at line 679 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torva...@ppc970.osdl.org>
:::::: CC: Linus Torvalds <torva...@ppc970.osdl.org>

---
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