Thread (12 messages) 12 messages, 5 authors, 2018-04-24

[PATCH] bpf: fix semicolon.cocci warnings

flat view
STALE3098d

From: kbuild test robot <hidden>
Date: 2018-03-13 09:54:40

From: Fengguang Wu <redacted>

kernel/bpf/stackmap.c:177:2-3: Unneeded semicolon


 Remove unneeded semicolon.

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

Fixes: fd5c09555695 ("bpf: extend stackmap to save binary_build_id+offset instead of address")
CC: Song Liu <redacted>
Signed-off-by: Fengguang Wu <redacted>
---

 stackmap.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
--- a/kernel/bpf/stackmap.c
+++ b/kernel/bpf/stackmap.c
@@ -174,7 +174,7 @@ static inline int stack_map_parse_build_
 		if (new_offs <= note_offs)  /* overflow */
 			break;
 		note_offs = new_offs;
-	};
+	}
 	return -EINVAL;
 }
 
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help