[LTP] [PATCH] syscalls/openat2: New tests

Petr Vorel pvorel@suse.cz
Mon Mar 2 08:31:21 CET 2020


Hi Viresh,

> I am getting a build warning now (same happen if I build bpf stuff as
> well). I don't understand why this warning comes though.

> openat202.c:69:1: warning: missing initializer for field 'caps' of 'struct tst_test' [-Wmissing-field-initializers]
>  };
>  ^
> In file included from openat202.c:7:0:
> ../../../../include/tst_test.h:236:18: note: 'caps' declared here
>   struct tst_cap *caps;
>                   ^~~~

This is false positive warning. Unfortunately we don't know how to avoid it.

Kind regards,
Petr


More information about the ltp mailing list