[PATCH v2 0/4] samples/bpf: simple fixes
From: Taeung Song
Date: Wed Jul 04 2018 - 09:37:05 EST
v2:
- in error cases, do return; instead of break; in loop
Hello,
This patchset fixes trivial things that I found
when testing 'samples/bpf/' sample code.
I'd appreciate it, if you review this.
Thanks,
Taeung
Taeung Song (4):
samples/bpf: add missing <linux/if_vlan.h>
samples/bpf: Check the result of system()
samples/bpf: Check the error of write() and read()
samples/bpf: add .gitignore file
samples/bpf/.gitignore | 49 ++++++++++++++++++++++++++++++++
samples/bpf/parse_varlen.c | 6 +---
samples/bpf/test_overhead_user.c | 19 ++++++++++---
samples/bpf/trace_event_user.c | 27 ++++++++++++++++--
4 files changed, 89 insertions(+), 12 deletions(-)
create mode 100644 samples/bpf/.gitignore
--
2.17.1