projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09211e2
)
perf jit: Add missing curly braces
author
Dan Carpenter
<
[email protected]
>
Fri, 15 Jul 2016 21:07:12 +0000
(
00:07
+0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Mon, 18 Jul 2016 15:20:00 +0000
(12:20 -0300)
It doesn't change the runtime behavior, but my static checker complains
that curly braces were intended.
Signed-off-by: Dan Carpenter <
[email protected]
>
Cc: Adrian Hunter <
[email protected]
>
Cc: Alexander Shishkin <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Stephane Eranian <
[email protected]
>
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/20160715210712.GA19522@mwanda
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/jvmti/jvmti_agent.c
patch
|
blob
|
history
diff --git
a/tools/perf/jvmti/jvmti_agent.c
b/tools/perf/jvmti/jvmti_agent.c
index 3573f315f9559cee48cb0cf59530d334c893b3f3..91bf333a366a43ccb2c5905592e0492268c58b1f 100644
(file)
--- a/
tools/perf/jvmti/jvmti_agent.c
+++ b/
tools/perf/jvmti/jvmti_agent.c
@@
-491,10
+491,11
@@
jvmti_write_debug_info(void *agent, uint64_t code, const char *file,
if (sret != 1)
goto error;
}
- if (padding_count)
+ if (padding_count)
{
sret = fwrite_unlocked(pad_bytes, padding_count, 1, fp);
if (sret != 1)
goto error;
+ }
funlockfile(fp);
return 0;