Hi Xiaoliang,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on net-next/master]
url:
https://github.com/0day-ci/linux/commits/Xiaoliang-Yang/net-qos-introduce...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git
a17aafa3a416971bb5a17464f1c949e3de6d1b18
config: openrisc-allyesconfig (attached as .config)
compiler: or1k-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
#
https://github.com/0day-ci/linux/commit/a48cfe88fdec052ac0b48bdae1847a200...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Xiaoliang-Yang/net-qos-introduce-a-frer-action-to-implement-802-1CB/20210928-193646
git checkout a48cfe88fdec052ac0b48bdae1847a2007928db8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> net/sched/act_frer.c:654:33: error: initialization of 'int
(*)(struct net *, struct nlattr *, struct nlattr *, struct tc_action **, struct tcf_proto
*, u32, struct netlink_ext_ack *)' {aka 'int (*)(struct net *, struct nlattr *,
struct nlattr *, struct tc_action **, struct tcf_proto *, unsigned int, struct
netlink_ext_ack *)'} from incompatible pointer type 'int (*)(struct net *, struct
nlattr *, struct nlattr *, struct tc_action **, int, int, bool, struct tcf_proto *,
u32, struct netlink_ext_ack *)' {aka 'int (*)(struct net *, struct nlattr *,
struct nlattr *, struct tc_action **, int, int, _Bool, struct tcf_proto *, unsigned
int, struct netlink_ext_ack *)'} [-Werror=incompatible-pointer-types]
654
| .init = tcf_frer_init,
| ^~~~~~~~~~~~~
net/sched/act_frer.c:654:33: note: (near initialization for
'act_frer_ops.init')
cc1: all warnings being treated as errors
vim +654 net/sched/act_frer.c
648
649 static struct tc_action_ops act_frer_ops = {
650 .kind = "frer",
651 .id = TCA_ID_FRER,
652 .owner = THIS_MODULE,
653 .act = tcf_frer_act,
654 .init = tcf_frer_init,
655 .cleanup = tcf_frer_cleanup,
656 .dump = tcf_frer_dump,
657 .walk = tcf_frer_walker,
658 .stats_update = tcf_frer_stats_update,
659 .get_fill_size = tcf_frer_get_fill_size,
660 .lookup = tcf_frer_search,
661 .size = sizeof(struct tcf_frer),
662 };
663
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org