-
Notifications
You must be signed in to change notification settings - Fork 20
Conversation
Reviewed 6 of 7 files at r1. src/bpf_ctx.c, line 367 at r1 (raw file):
What's the problem here? Comments from Reviewable |
Reviewed 1 of 7 files at r1. Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. src/bpf_ctx.c, line 367 at r1 (raw file): Previously, krzycz (Krzysztof Czurylo) wrote…
The type of the last argument of Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. src/bpf_ctx.c, line 367 at r1 (raw file): Previously, ldorau (Lukasz Dorau) wrote…
So, it looks like there is some problem with the design. Do we have two enums, where one is a subset of the another one? Comments from Reviewable |
Review status: all files reviewed at latest revision, 1 unresolved discussion. src/bpf_ctx.c, line 367 at r1 (raw file): Previously, krzycz (Krzysztof Czurylo) wrote…
Yes Comments from Reviewable |
0550114
to
dc01f45
Compare
Review status: 6 of 8 files reviewed at latest revision, 1 unresolved discussion. src/bpf_ctx.c, line 367 at r1 (raw file): Previously, ldorau (Lukasz Dorau) wrote…
Fixed Comments from Reviewable |
Review status: 6 of 8 files reviewed at latest revision, 1 unresolved discussion. src/bpf_ctx.c, line 367 at r1 (raw file): Previously, ldorau (Lukasz Dorau) wrote…
@krzycz I fixed it, please review the last changes Comments from Reviewable |
dc01f45
to
77de640
Compare
Reviewed 2 of 2 files at r2. Comments from Reviewable |
It is better to merge it before PR #26. |
tools/bench_sc/bench_sc.c
Outdated
@@ -106,7 +110,7 @@ main(int argc, char *argv[]) | |||
} | |||
|
|||
iters_qty = atol(argv[1]); | |||
if (iters_qty == 0) { | |||
if (iters_qty <= 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iters_qty is unsigned
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
test/test_syscalls.c
Outdated
s(); | ||
fstat(fd, &buf); | ||
(void) fstat(fd, &buf); | ||
s(); | ||
close(fd); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you exclude close?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it is not considered as an issue by Coverity. How often do you check the return value of close()?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
77de640
to
53c14e4
Compare
Reviewed 2 of 2 files at r3. Comments from Reviewable |
Review status: all files reviewed at latest revision, all discussions resolved, all commit checks successful. Comments from Reviewable |
Fix issues detected by Coverity
This change is