[LTP] [PATCH] syscalls/ioctl01: Cleanup & convert to new library

Petr Vorel pvorel@suse.cz
Tue Dec 10 15:01:46 CET 2019


Hi Cyril,

Reviewed-by: Petr Vorel <pvorel@suse.cz>
Tested-by: Petr Vorel <pvorel@suse.cz>

LGTM.

BTW (not related to ioctl01.c), is it possible to get rid of (false positive) this warning?

ioctl01.c:115:1: warning: missing initializer for field ‘test_all’ of ‘struct tst_test’ [-Wmissing-field-initializers]
 };
 ^
In file included from ioctl01.c:25:0:
../../../../include/tst_test.h:185:9: note: ‘test_all’ declared here
  void (*test_all)(void);
         ^~~~~~~~

Kind regards,
Petr


More information about the ltp mailing list