mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Suhas KV <suhas.kv00@gmail.com>
To: davem@davemloft.net, yoshfuji@linux-ipv6.org, dsahern@kernel.org,
	kuba@kernel.org, netdev@vger.kernel.org,
	linux-kernel@vger.kernel.org, bkkarthik@pesu.pes.edu
Subject: [PATCH]net: ipv6: ping.c: fixed open brace error
Date: Tue, 16 Mar 2021 04:35:10 -0700	[thread overview]
Message-ID: <1c3d8cf6-b87a-590d-a055-cca18e2fe608@gmail.com> (raw)

fixed the following error shown by checkpatch ERROR: open
brace '{' following function definitions go on the next line

Signed-off-by: Suhas KV <suhas.kv00@gmail.com>
---
  net/ipv6/ping.c | 4 +++-
  1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net/ipv6/ping.c b/net/ipv6/ping.c
index 6ac88fe24a8e..c0e5d0c79d6f 100644
--- a/net/ipv6/ping.c
+++ b/net/ipv6/ping.c
@@ -37,7 +37,9 @@ static int dummy_icmpv6_err_convert(u8 type, u8 code, 
int *err)
         return -EAFNOSUPPORT;
  }
  static void dummy_ipv6_icmp_error(struct sock *sk, struct sk_buff 
*skb, int err,
-                                 __be16 port, u32 info, u8 *payload) {}
+                                 __be16 port, u32 info, u8 *payload)
+{
+}
  static int dummy_ipv6_chk_addr(struct net *net, const struct in6_addr 
*addr,
                                const struct net_device *dev, int strict)
  {
-- 
2.25.1


                 reply	other threads:[~2021-03-16 11:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1c3d8cf6-b87a-590d-a055-cca18e2fe608@gmail.com \
    --to=suhas.kv00@gmail.com \
    --cc=bkkarthik@pesu.pes.edu \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®