warning-annoyance induced code-review
Status from this message: Applied, thanks
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | lnstat: review lnstat_update()misc/ | +7 | 0 replies | |
| 2/5 | ss: reduce max indentation level in init_service_resolver()misc/ | +30 | 0 replies | |
| 3/5 | ss: review is_ephemeral()misc/ | +10 | 0 replies | |
| 4/5 | get rid of remaining -Wunused-result warningsmisc/ misc/ misc/ +1 more | +24 | 0 replies | |
| 5/5 | get rid of unnecessary fgets() buffer size limitationmisc/ misc/ | +5 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [iproute PATCH 0/5] warning-annoyance induced code-review
The primary goal was to get rid of the -Wunused-result warnings emitted during compiling. While adding the necessary checks, I found a few functions which could benefit from a bigger review (patches 1, 2 and 3). Patch 4 then adds the remaining missing checks, and patch 5 simplifies fgets() usage at a few spots.
Note that the last patch is my first Coccinelle-generated change, which makes me especially proud. Many thanks again to Julia Lawall for her kind support via IRC at this point!
Phil Sutter (5):
lnstat: review lnstat_update()
ss: reduce max indentation level in init_service_resolver()
ss: review is_ephemeral()
get rid of remaining -Wunused-result warnings
get rid of unnecessary fgets() buffer size limitation
misc/arpd.c | 2 +- misc/ifstat.c | 6 ++- misc/lnstat_util.c | 21 +++++------ misc/nstat.c | 6 ++- misc/ss.c | 107 ++++++++++++++++++++++++++++------------------------- 5 files changed, 74 insertions(+), 68 deletions(-)
Signature · 1 line
2.5.0