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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 17 Apr 2018 17:14:02 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Martin KaFai Lau <kafai@...com>
Cc:     kbuild-all@...org, netdev@...r.kernel.org,
        Alexei Starovoitov <ast@...com>,
        Daniel Borkmann <daniel@...earbox.net>, kernel-team@...com
Subject: [PATCH] bpf: btf: fix semicolon.cocci warnings

From: Fengguang Wu <fengguang.wu@...el.com>

kernel/bpf/btf.c:353:2-3: Unneeded semicolon
kernel/bpf/btf.c:280:2-3: Unneeded semicolon
kernel/bpf/btf.c:663:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

Fixes: b22ac5b97dd9 ("bpf: btf: Validate type reference")
CC: Martin KaFai Lau <kafai@...com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.com>
---

 btf.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- a/kernel/bpf/btf.c
+++ b/kernel/bpf/btf.c
@@ -277,7 +277,7 @@ static bool btf_type_is_modifier(const s
 	case BTF_KIND_CONST:
 	case BTF_KIND_RESTRICT:
 		return true;
-	};
+	}
 
 	return false;
 }
@@ -350,7 +350,7 @@ static bool btf_type_has_size(const stru
 	case BTF_KIND_UNION:
 	case BTF_KIND_ENUM:
 		return true;
-	};
+	}
 
 	return false;
 }
@@ -660,7 +660,7 @@ static bool env_type_is_resolve_sink(con
 			!btf_type_is_struct(next_type);
 	default:
 		BUG_ON(1);
-	};
+	}
 }
 
 static bool env_type_is_resolved(const struct btf_verifier_env *env,

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ