summaryrefslogtreecommitdiff
path: root/Documentation/fault-injection/provoke-crashes.rst
diff options
context:
space:
mode:
authorMichal Suchanek <msuchanek@suse.de>2023-01-09 12:34:42 +0100
committerAndrii Nakryiko <andrii@kernel.org>2023-01-11 16:56:26 -0800
commit5fbea42387eba1c7517fcad79099df706def7054 (patch)
tree24e697f2363733155bbe72a877a927bddf9c2a9a /Documentation/fault-injection/provoke-crashes.rst
parent6920b08661e3ad829206078b5c9879b24aea8dfc (diff)
downloadlinux-rpi-5fbea42387eba1c7517fcad79099df706def7054.tar.gz
linux-rpi-5fbea42387eba1c7517fcad79099df706def7054.tar.bz2
linux-rpi-5fbea42387eba1c7517fcad79099df706def7054.zip
bpf_doc: Fix build error with older python versions
The ability to subscript match result as an array is only available since python 3.6. Existing code in bpf_doc uses the older group() interface but commit 8a76145a2ec2 adds code using the new interface. Use the old interface consistently to avoid build error on older distributions like the below: + make -j48 -s -C /dev/shm/kbuild/linux.33946/current ARCH=powerpc HOSTCC=gcc CROSS_COMPILE=powerpc64-suse-linux- clean TypeError: '_sre.SRE_Match' object is not subscriptable Fixes: 8a76145a2ec2 ("bpf: explicitly define BPF_FUNC_xxx integer values") Signed-off-by: Michal Suchanek <msuchanek@suse.de> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Quentin Monnet <quentin@isovalent.com> Link: https://lore.kernel.org/bpf/20230109113442.20946-1-msuchanek@suse.de
Diffstat (limited to 'Documentation/fault-injection/provoke-crashes.rst')
0 files changed, 0 insertions, 0 deletions