linux/err.h: add PTR_ERR_OR_ZERO

Add missing PTR_ERR_OR_ZERO implementation. Also add a bunch of
generated files to .gitignore.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
This commit is contained in:
Andrii Nakryiko
2019-05-29 10:05:50 -07:00
committed by Andrii Nakryiko
parent 59a641543e
commit e60460f4e5
2 changed files with 7 additions and 0 deletions

2
src/.gitignore vendored
View File

@@ -1,2 +1,4 @@
*.o
*.a
/libbpf.pc
/libbpf.so*