]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Merge branch 'fix-btf_dedup'
authorAlexei Starovoitov <ast@kernel.org>
Wed, 27 Mar 2019 15:01:25 +0000 (08:01 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 27 Mar 2019 15:01:26 +0000 (08:01 -0700)
commit369b976d6f3613518de1295bd2dee81fb255946d
treef8856c7d8beb7af4e1f48b0d29f81ddff7389ece
parentf52c97d9df983cc38a8809d0910e5eaba0c180b3
parenteb76899ce749507e09cad6816f32cede14a9b7ee
Merge branch 'fix-btf_dedup'

Andrii Nakryiko says:

====================
This patch set fixes bug in btf_dedup_is_equiv() check mishandling equivalence
comparison between VOID kind in candidate type graph versus anonymous non-VOID
kind in canonical type graph.

Patch #1 fixes bug, by comparing candidate and canonical kinds for equality,
before proceeding to kind-specific checks.
Patch #2 adds a test case testing this specific scenario.
====================

Signed-off-by: Alexei Starovoitov <ast@kernel.org>