Skip to contentSkip to conversation

net: ipv6: ping.c: fixed open brace error

PATCH New Suhas KV 1 participant 1 message Mar 16, 2021

Subsystems (2)
lore
Share & tools
lore

Suhas KV

author
#0 lore raw

PATCH 1/1 net: ipv6: ping.c: fixed open brace error

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

---
 net/ipv6/ping.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
net/ipv6/ping.c +0 -0
index 6ac88fe24a8e..c0e5d0c79d6f 100644
@@ -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)
{

Signature · 1 line
2.25.1