[Cake] Fwd: Compiling under net-next

Toke Høiland-Jørgensen toke at toke.dk
Mon Mar 19 12:52:01 EDT 2018


Georgios Amanakis <gamanakis at gmail.com> writes:

>  #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
>      err = nla_parse_nested(tb, TCA_CAKE_MAX, opt, cake_policy);
> -#else
> +#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 16, 0)
>      err = nla_parse_nested(tb, TCA_CAKE_MAX, opt, cake_policy, NULL);
> +#else
> +    err = nla_parse_nested(tb, TCA_CAKE_MAX, opt, cake_policy, extack);
>  #endif

Yes, exactly!

Could you squash the two patches into one, add a Signed-off-by tag and
send it using git send-email? It's somewhat mangled in transit, it
seems; but otherwise looks good to apply :)

-Toke


More information about the Cake mailing list