]> git.baikalelectronics.ru Git - kernel.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)
commit0d62b1a99c3830f1cc1a16312cb764638b332783
treef8856c7d8beb7af4e1f48b0d29f81ddff7389ece
parente30e9fee38d5e9505b373bd584a89f421bbd27fb
parentf247e6189993a9d81ac58e8c3f3c8df6debfa3a5
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>