summaryrefslogtreecommitdiff
path: root/tools/docs/lib/parse_data_structs.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2025-10-01 15:27:25 -0700
committerAlexei Starovoitov <ast@kernel.org>2025-10-01 15:28:34 -0700
commit1bd3773aad5411f3542aa2e5328df58454706ca6 (patch)
treea3ff83bce952bf62122303cd3575533e6400aa75 /tools/docs/lib/parse_data_structs.py
parenta1aca22d264cdca5b20934a2413951ea7d73c594 (diff)
parent4a1c9e544b8dd0c5456e0feb614f427dc46c4835 (diff)
Merge branch 'libbpf-fix-libbpf_sha256-for-github-compatibility'
Andrii Nakryiko says: ==================== libbpf: fix libbpf_sha256() for Github compatibility Recent reimplementation of libbpf_sha256() introduced issues for libbpf's Github mirror due to reliance on linux/unaligned.h header. This patch set fixes those issues to make libbpf source code compatible with Github mirror setup. This patch set starts with a bit of organization: we introduce libbpf_utils.c as a place for generic internal helpers like libbpf_errstr() and libbpf_sha256(), and move a few existing helpers there. We also clean up libbpf_strerror_r(), which seems to be a leftover of some previous refactorings. And finally, we move libbpf_sha256() from huge libbpf.c into libbpf_utils.c, following up with fix ups to make its code more Github-friendly. v1->v2: - add missed cpu_to_be32() and be32_to_cpu() conversions inside {get/put}_unaligned_be32() macros; - target bpf tree (Alexei); - applied Eric's libbpf_sha256 selftest locally and verified it works; v1: https://lore.kernel.org/bpf/20250930212619.1645410-1-andrii@kernel.org/ ==================== Link: https://patch.msgid.link/20251001171326.3883055-1-andrii@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/docs/lib/parse_data_structs.py')
0 files changed, 0 insertions, 0 deletions