]> git.proxmox.com Git - ovs.git/commitdiff
datapath: drop unneeded newline
authorJulia Lawall <Julia.Lawall@lip6.fr>
Wed, 14 Feb 2018 23:18:05 +0000 (15:18 -0800)
committerPravin B Shelar <pshelar@ovn.org>
Fri, 16 Feb 2018 08:41:22 +0000 (00:41 -0800)
Upstream commit:
    commit e0b10844d9e617a1a5ce2ddf73d38aaa0a47a2a4
    Author: Julia Lawall <Julia.Lawall@lip6.fr>
    Date:   Wed Dec 27 15:51:38 2017 +0100

    openvswitch: drop unneeded newline

    OVS_NLERR prints a newline at the end of the message string, so the
    message string does not need to include a newline explicitly.  Done
    using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Greg Rose <gvrose8192@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
datapath/conntrack.c

index a75ae3c5e0430871fb1b4bd8348ba196ae1249ec..d58240b7246211229cd8f4096bbb25fd74b24751 100644 (file)
@@ -1315,14 +1315,14 @@ static int parse_nat(const struct nlattr *attr,
                /* Do not allow flags if no type is given. */
                if (info->range.flags) {
                        OVS_NLERR(log,
-                                 "NAT flags may be given only when NAT range (SRC or DST) is also specified.\n"
+                                 "NAT flags may be given only when NAT range (SRC or DST) is also specified."
                                  );
                        return -EINVAL;
                }
                info->nat = OVS_CT_NAT;   /* NAT existing connections. */
        } else if (!info->commit) {
                OVS_NLERR(log,
-                         "NAT attributes may be specified only when CT COMMIT flag is also specified.\n"
+                         "NAT attributes may be specified only when CT COMMIT flag is also specified."
                          );
                return -EINVAL;
        }