summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/dma-mapping.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2018-09-14 16:47:14 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-09-18 10:16:18 -0300
commit6d41907c630d3196be89c9ed5a7f8258486b3eaf (patch)
treeb969a05b22fae00348dce01721468c79c555491d /include/asm-generic/dma-mapping.h
parentcb48b6a26cace226d8b299a48c73e808eb0c4f61 (diff)
downloadtalos-obmc-linux-6d41907c630d3196be89c9ed5a7f8258486b3eaf.tar.gz
talos-obmc-linux-6d41907c630d3196be89c9ed5a7f8258486b3eaf.zip
tools lib bpf: Provide wrapper for strerror_r to build in !_GNU_SOURCE systems
Same problem that got fixed in a similar fashion in tools/perf/ in c8b5f2c96d1b ("tools: Introduce str_error_r()"), fix it in the same way, licensing needs to be sorted out to libbpf to use libapi, so, for this simple case, just get the same wrapper in tools/lib/bpf. This makes libbpf and its users (bpftool, selftests, perf) to build again in Alpine Linux 3.[45678] and edge. Acked-by: Alexei Starovoitov <ast@kernel.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: David Ahern <dsahern@gmail.com> Cc: Hendrik Brueckner <brueckner@linux.ibm.com> Cc: Jakub Kicinski <jakub.kicinski@netronome.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Martin KaFai Lau <kafai@fb.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Quentin Monnet <quentin.monnet@netronome.com> Cc: Thomas Richter <tmricht@linux.ibm.com> Cc: Wang Nan <wangnan0@huawei.com> Cc: Yonghong Song <yhs@fb.com> Fixes: 1ce6a9fc1549 ("bpf: fix build error in libbpf with EXTRA_CFLAGS="-Wp, -D_FORTIFY_SOURCE=2 -O2"") Link: https://lkml.kernel.org/r/20180917151636.GA21790@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'include/asm-generic/dma-mapping.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud