diff mbox series

[1/2] syscalls/landlock05.c: Remove useless tags

Message ID 20240816045342.185737-1-ice_yangxiao@163.com
State Accepted
Headers show
Series [1/2] syscalls/landlock05.c: Remove useless tags | expand

Commit Message

杨晓 Aug. 16, 2024, 4:53 a.m. UTC
Fix the following warnings from metadata/metaparse:
testcases/kernel/syscalls/landlock/landlock05.c: useless tag: format_device
testcases/kernel/syscalls/landlock/landlock05.c: useless tag: needs_tmpdir

Signed-off-by: Xiao Yang <ice_yangxiao@163.com>
---
 testcases/kernel/syscalls/landlock/landlock05.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Li Wang Aug. 16, 2024, 7:01 a.m. UTC | #1
On Fri, Aug 16, 2024 at 12:54 PM Xiao Yang <ice_yangxiao@163.com> wrote:

> Fix the following warnings from metadata/metaparse:
> testcases/kernel/syscalls/landlock/landlock05.c: useless tag: format_device
> testcases/kernel/syscalls/landlock/landlock05.c: useless tag: needs_tmpdir
>
> Signed-off-by: Xiao Yang <ice_yangxiao@163.com>
>

Reviewed-by: Li Wang <liwang@redhat.com>


> ---
>  testcases/kernel/syscalls/landlock/landlock05.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/testcases/kernel/syscalls/landlock/landlock05.c
> b/testcases/kernel/syscalls/landlock/landlock05.c
> index 6899dd1f1..703f7d81c 100644
> --- a/testcases/kernel/syscalls/landlock/landlock05.c
> +++ b/testcases/kernel/syscalls/landlock/landlock05.c
> @@ -90,7 +90,6 @@ static void setup(void)
>  static struct tst_test test = {
>         .test_all = run,
>         .setup = setup,
> -       .needs_tmpdir = 1,
>         .needs_root = 1,
>         .forks_child = 1,
>         .bufs = (struct tst_buffers []) {
> @@ -102,7 +101,6 @@ static struct tst_test test = {
>                 TST_CAP(TST_CAP_REQ, CAP_SYS_ADMIN),
>                 {}
>         },
> -       .format_device = 1,
>         .mount_device = 1,
>         .mntpoint = MNTPOINT,
>         .all_filesystems = 1,
> --
> 2.45.2
>
>
> --
> Mailing list info: https://lists.linux.it/listinfo/ltp
>
>
杨晓 Aug. 17, 2024, 4:43 a.m. UTC | #2
Hi Li,




Pushed. Thanks for your review.





Best Regards,

Xiao Yang





On 2024-08-16 15:01:28,"Li Wang" <liwang@redhat.com> wrote:





On Fri, Aug 16, 2024 at 12:54 PM Xiao Yang <ice_yangxiao@163.com> wrote:

Fix the following warnings from metadata/metaparse:
testcases/kernel/syscalls/landlock/landlock05.c: useless tag: format_device
testcases/kernel/syscalls/landlock/landlock05.c: useless tag: needs_tmpdir

Signed-off-by: Xiao Yang <ice_yangxiao@163.com>

 
Reviewed-by: Li Wang <liwang@redhat.com>
 
---
 testcases/kernel/syscalls/landlock/landlock05.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/testcases/kernel/syscalls/landlock/landlock05.c b/testcases/kernel/syscalls/landlock/landlock05.c
index 6899dd1f1..703f7d81c 100644
--- a/testcases/kernel/syscalls/landlock/landlock05.c
+++ b/testcases/kernel/syscalls/landlock/landlock05.c
@@ -90,7 +90,6 @@ static void setup(void)
 static struct tst_test test = {
        .test_all = run,
        .setup = setup,
-       .needs_tmpdir = 1,
        .needs_root = 1,
        .forks_child = 1,
        .bufs = (struct tst_buffers []) {
@@ -102,7 +101,6 @@ static struct tst_test test = {
                TST_CAP(TST_CAP_REQ, CAP_SYS_ADMIN),
                {}
        },
-       .format_device = 1,
        .mount_device = 1,
        .mntpoint = MNTPOINT,
        .all_filesystems = 1,
--
2.45.2


--
Mailing list info: https://lists.linux.it/listinfo/ltp






--

Regards,

Li Wang
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/landlock/landlock05.c b/testcases/kernel/syscalls/landlock/landlock05.c
index 6899dd1f1..703f7d81c 100644
--- a/testcases/kernel/syscalls/landlock/landlock05.c
+++ b/testcases/kernel/syscalls/landlock/landlock05.c
@@ -90,7 +90,6 @@  static void setup(void)
 static struct tst_test test = {
 	.test_all = run,
 	.setup = setup,
-	.needs_tmpdir = 1,
 	.needs_root = 1,
 	.forks_child = 1,
 	.bufs = (struct tst_buffers []) {
@@ -102,7 +101,6 @@  static struct tst_test test = {
 		TST_CAP(TST_CAP_REQ, CAP_SYS_ADMIN),
 		{}
 	},
-	.format_device = 1,
 	.mount_device = 1,
 	.mntpoint = MNTPOINT,
 	.all_filesystems = 1,