[ovs-dev] [PATCH] odp-execute.c : Fix odp_execute_clone if-else coding style.
Ben Pfaff
blp at ovn.org
Thu May 27 16:28:40 UTC 2021
This patch is corrupt: it uses nonbreaking spaces where spaces should
be. It also has Author: and Date: at the top, which shouldn't be there,
and repeats the first line of the commit message (from the subject) in
the body.
On Wed, May 26, 2021 at 11:16:33PM +0800, miter wrote:
> Author: miter <linhuang at ruijie.com.cn>
> Date: Wed May 26 19:51:29 2021 +0800
>
> odp-execute.c : Fix odp_execute_clone if-else coding style.
>
> Signed-off-by: Miter Lin <linhuang at ruijie.com.cn>
> ---
> diff --git a/lib/odp-execute.c b/lib/odp-execute.c
> index 6eeda2a61..95c8d71d2 100644
> --- a/lib/odp-execute.c
> +++ b/lib/odp-execute.c
> @@ -735,8 +735,7 @@ odp_execute_clone(void *dp, struct dp_packet_batch
> *batch, bool steal,
> dp_packet_batch_reset_cutlen(batch);
> odp_execute_actions(dp, &clone_pkt_batch, true,
> nl_attr_get(actions),
> nl_attr_get_size(actions), dp_execute_action);
> - }
> - else {
> + } else {
> odp_execute_actions(dp, batch, true, nl_attr_get(actions),
> nl_attr_get_size(actions), dp_execute_action);
> }
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
More information about the dev
mailing list