Re: [PATCH 0/2] tools/virtio: fix compilation

From: Yunsheng Lin
Date: Tue Jul 06 2021 - 23:19:16 EST


On 2021/7/6 22:26, Eugenio Pérez wrote:
> Virtio testing tools cannot build. Fixing.
>
>
>
> Comments are welcome, specially in case I missed use of stub lockdep.h.
>
>
>
> I couldn't try some of the tools, that already did not compile on 5.13:
>
> gpio, liblockdep, selftests, bpf, tracing.

This patchset fixes the compilation error explicitly.
My previous refactor patchset seems to fixes the compilation error
accidentally too.

Anyway it seems better to fix the compilation error explicitly.

>
>
>
> Eugenio Pérez (2):
>
> tools: Remove lockdep.h and its include from spinlock.h
>
> vringh: Include spinlock.h
>
>
>
> include/linux/vringh.h | 1 +
>
> tools/include/linux/spinlock.h | 2 --
>
> tools/testing/radix-tree/linux/lockdep.h | 11 -----------
>
> 3 files changed, 1 insertion(+), 13 deletions(-)
>
> delete mode 100644 tools/testing/radix-tree/linux/lockdep.h
>
>
>