diff options
| author | Andrii Nakryiko <[email protected]> | 2020-06-12 20:16:03 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-06-12 22:25:04 +0000 |
| commit | 22eb78792e07a4dfb63c85f34950d4e58eb90326 (patch) | |
| tree | 07d8d66b127127df8ced2287e57b05bb2d6b8f93 /drivers/pci/controller/pci-host-generic.c | |
| parent | bpf: Fix memlock accounting for sock_hash (diff) | |
| download | kernel-22eb78792e07a4dfb63c85f34950d4e58eb90326.tar.gz kernel-22eb78792e07a4dfb63c85f34950d4e58eb90326.zip | |
tools/bpftool: Fix skeleton codegen
Remove unnecessary check at the end of codegen() routine which makes codegen()
to always fail and exit bpftool with error code. Positive value of variable
n is not an indicator of a failure.
Fixes: 2c4779eff837 ("tools, bpftool: Exit on error in function codegen")
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Reviewed-by: Tobias Klauser <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/pci/controller/pci-host-generic.c')
0 files changed, 0 insertions, 0 deletions
