Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* [Cake] Compiling under net-next
@ 2018-03-18 20:00 Georgios Amanakis
  2018-03-19  2:29 ` George Amanakis
  0 siblings, 1 reply; 8+ messages in thread
From: Georgios Amanakis @ 2018-03-18 20:00 UTC (permalink / raw)
  To: cake

Hello All,

I just received a notice that in archlinux running 4.16-rc1 cake fails
to build (https://aur.archlinux.org/packages/sch_cake-dkms). I can also
confirm the same error with net-next and the cobalt tree: 

============8<============
DKMS make.log for sch_cake-r427.d2d6780 for kernel 4.16.0-rc1-
61deb7d0dddd (x86_64)
Sun Mar 18 10:08:24 IST 2018
make: Entering directory '/usr/lib/modules/4.16.0-rc1-
61deb7d0dddd/build'
  CC [M]  /var/lib/dkms/sch_cake/r427.d2d6780/build/sch_cake.o
/var/lib/dkms/sch_cake/r427.d2d6780/build/sch_cake.c:2708:11: error:
initialization from incompatible pointer type [-Werror=incompatible-
pointer-types]
  .init  = cake_init,
           ^~~~~~~~~
/var/lib/dkms/sch_cake/r427.d2d6780/build/sch_cake.c:2708:11: note:
(near initialization for ‘cake_qdisc_ops.init’)
/var/lib/dkms/sch_cake/r427.d2d6780/build/sch_cake.c:2711:13: error:
initialization from incompatible pointer type [-Werror=incompatible-
pointer-types]
  .change  = cake_change,
             ^~~~~~~~~~~
/var/lib/dkms/sch_cake/r427.d2d6780/build/sch_cake.c:2711:13: note:
(near initialization for ‘cake_qdisc_ops.change’)
cc1: some warnings being treated as errors
make[1]: *** [scripts/Makefile.build:323:
/var/lib/dkms/sch_cake/r427.d2d6780/build/sch_cake.o] Error 1
make: *** [Makefile:1549:
_module_/var/lib/dkms/sch_cake/r427.d2d6780/build] Error 2
make: Leaving directory '/usr/lib/modules/4.16.0-rc1-
61deb7d0dddd/build'
============8<============

I see that the init function type changed from (eg tbf_init):
 static int tbf_init(struct Qdisc *sch, struct nlattr *opt)
to:
 static int tbf_init(struct Qdisc *sch, struct nlattr *opt,
            
         struct netlink_ext_ack *extack)


The same applies for the change function type (eg tbf_change), from:
 static int tbf_change(struct Qdisc *sch, struct nlattr *opt)
to:
 static int tbf_change(struct Qdisc *sch, struct nlattr *opt,
                       struct netlink_ext_ack *extack)


George

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-03-20  9:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-18 20:00 [Cake] Compiling under net-next Georgios Amanakis
2018-03-19  2:29 ` George Amanakis
2018-03-19 10:16   ` Toke Høiland-Jørgensen
2018-03-19 10:40     ` Toke Høiland-Jørgensen
     [not found]       ` <CACvFP_ijNbkUU8mRCyAwe16qZ=SYMStq=9QiyTBizNhLx-vZtw@mail.gmail.com>
2018-03-19 16:09         ` [Cake] Fwd: " Georgios Amanakis
2018-03-19 16:52           ` Toke Høiland-Jørgensen
2018-03-19 17:11             ` [Cake] [PATCH] Fixes for 4.16 George Amanakis
2018-03-20  9:33               ` Toke Høiland-Jørgensen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox