LKML Archive mirror
 help / color / mirror / Atom feed
* [PATCH]net: ipv6: ping.c: fixed open brace error
@ 2021-03-16 11:35 Suhas KV
  0 siblings, 0 replies; only message in thread
From: Suhas KV @ 2021-03-16 11:35 UTC (permalink / raw
  To: davem, yoshfuji, dsahern, kuba, netdev, linux-kernel, bkkarthik

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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-16 11:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-16 11:35 [PATCH]net: ipv6: ping.c: fixed open brace error Suhas KV

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).