lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <1c3d8cf6-b87a-590d-a055-cca18e2fe608@gmail.com>
Date:   Tue, 16 Mar 2021 04:35:10 -0700
From:   Suhas KV <suhas.kv00@...il.com>
To:     davem@...emloft.net, yoshfuji@...ux-ipv6.org, dsahern@...nel.org,
        kuba@...nel.org, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org, bkkarthik@...u.pes.edu
Subject: [PATCH]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

Signed-off-by: Suhas KV <suhas.kv00@...il.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ