* [LTP] [PATCH v2 1/4] syscalls/preadv: Fix docparse
@ 2024-01-21 12:29 Xiao Yang
2024-01-21 12:29 ` [LTP] [PATCH v2 2/4] syscalls/preadv: Make make check happy Xiao Yang
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Xiao Yang @ 2024-01-21 12:29 UTC (permalink / raw)
To: pvorel; +Cc: ltp
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
---
testcases/kernel/syscalls/preadv/preadv01.c | 16 +++++-----
testcases/kernel/syscalls/preadv/preadv02.c | 35 +++++++--------------
testcases/kernel/syscalls/preadv/preadv03.c | 6 ++--
3 files changed, 24 insertions(+), 33 deletions(-)
diff --git a/testcases/kernel/syscalls/preadv/preadv01.c b/testcases/kernel/syscalls/preadv/preadv01.c
index 62f9296f2..10604200d 100644
--- a/testcases/kernel/syscalls/preadv/preadv01.c
+++ b/testcases/kernel/syscalls/preadv/preadv01.c
@@ -4,14 +4,14 @@
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
*/
-/*
-* Test Name: preadv01
-*
-* Test Description:
-* Testcase to check the basic functionality of the preadv(2).
-* Preadv(2) should succeed to read the expected content of data
-* and after reading the file, the file offset is not changed.
-*/
+/*\
+ * [Description]
+ *
+ * Testcase to check the basic functionality of the preadv(2).
+ *
+ * Preadv(2) should succeed to read the expected content of data
+ * and after reading the file, the file offset is not changed.
+ */
#define _GNU_SOURCE
diff --git a/testcases/kernel/syscalls/preadv/preadv02.c b/testcases/kernel/syscalls/preadv/preadv02.c
index 500059e42..bfcf5052b 100644
--- a/testcases/kernel/syscalls/preadv/preadv02.c
+++ b/testcases/kernel/syscalls/preadv/preadv02.c
@@ -4,29 +4,18 @@
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
*/
-/*
-* Test Name: preadv02
-*
-* Description:
-* 1) preadv(2) fails if iov_len is invalid.
-* 2) preadv(2) fails if the vector count iovcnt is less than zero.
-* 3) preadv(2) fails if offset is negative.
-* 4) preadv(2) fails when attempts to read into a invalid address.
-* 5) preadv(2) fails if file descriptor is invalid.
-* 6) preadv(2) fails if file descriptor is not open for reading.
-* 7) preadv(2) fails when fd refers to a directory.
-* 8) preadv(2) fails if fd is associated with a pipe.
-*
-* Expected Result:
-* 1) preadv(2) should return -1 and set errno to EINVAL.
-* 2) preadv(2) should return -1 and set errno to EINVAL.
-* 3) preadv(2) should return -1 and set errno to EINVAL.
-* 4) preadv(2) should return -1 and set errno to EFAULT.
-* 5) preadv(2) should return -1 and set errno to EBADF.
-* 6) preadv(2) should return -1 and set errno to EBADF.
-* 7) preadv(2) should return -1 and set errno to EISDIR.
-* 8) preadv(2) should return -1 and set errno to ESPIPE.
-*/
+/*\
+ * [Description]
+ *
+ * - EINVAL when iov_len is invalid.
+ * - EINVAL when the vector count iovcnt is less than zero.
+ * - EINVAL when offset is negative.
+ * - EFAULT when attempts to read into a invalid address.
+ * - EBADF when file descriptor is invalid.
+ * - EBADF when file descriptor is not open for reading.
+ * - EISDIR when fd refers to a directory.
+ * - ESPIPE when fd is associated with a pipe.
+ */
#define _GNU_SOURCE
diff --git a/testcases/kernel/syscalls/preadv/preadv03.c b/testcases/kernel/syscalls/preadv/preadv03.c
index d4595dda6..5d2946bc3 100644
--- a/testcases/kernel/syscalls/preadv/preadv03.c
+++ b/testcases/kernel/syscalls/preadv/preadv03.c
@@ -4,10 +4,12 @@
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
*/
-/*
- * Description:
+/*\
+ * [Description]
+ *
* Check the basic functionality of the preadv(2) for the file
* opened with O_DIRECT in all filesystem.
+ *
* preadv(2) should succeed to read the expected content of data
* and after reading the file, the file offset is not changed.
*/
--
2.40.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [LTP] [PATCH v2 2/4] syscalls/preadv: Make make check happy
2024-01-21 12:29 [LTP] [PATCH v2 1/4] syscalls/preadv: Fix docparse Xiao Yang
@ 2024-01-21 12:29 ` Xiao Yang
2024-01-21 19:45 ` Petr Vorel
2024-01-21 12:29 ` [LTP] [PATCH v2 3/4] syscalls/pwritev: Fix docparse Xiao Yang
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Xiao Yang @ 2024-01-21 12:29 UTC (permalink / raw)
To: pvorel; +Cc: ltp
Also add LTP Copyright.
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
---
testcases/kernel/syscalls/preadv/preadv.h | 21 ++++++---------------
testcases/kernel/syscalls/preadv/preadv01.c | 13 +++++++------
testcases/kernel/syscalls/preadv/preadv02.c | 7 ++++---
testcases/kernel/syscalls/preadv/preadv03.c | 1 +
4 files changed, 18 insertions(+), 24 deletions(-)
diff --git a/testcases/kernel/syscalls/preadv/preadv.h b/testcases/kernel/syscalls/preadv/preadv.h
index 73466a9aa..bfe7e7223 100644
--- a/testcases/kernel/syscalls/preadv/preadv.h
+++ b/testcases/kernel/syscalls/preadv/preadv.h
@@ -1,18 +1,9 @@
-/*
-* Copyright (c) 2015 Fujitsu Ltd.
-* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
-*
-* This program is free software; you can redistribute it and/or modify it
-* under the terms of version 2 of the GNU General Public License as
-* published by the Free Software Foundation.
-*
-* This program is distributed in the hope that it would be useful, but
-* WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-*
-* You should have received a copy of the GNU General Public License
-* alone with this program.
-*/
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (c) 2015 Fujitsu Ltd.
+ * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
+ * Copyright (c) Linux Test Project, 2016-2023
+ */
#ifndef PREADV_H
#define PREADV_H
diff --git a/testcases/kernel/syscalls/preadv/preadv01.c b/testcases/kernel/syscalls/preadv/preadv01.c
index 10604200d..871b3ab42 100644
--- a/testcases/kernel/syscalls/preadv/preadv01.c
+++ b/testcases/kernel/syscalls/preadv/preadv01.c
@@ -1,8 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
-* Copyright (c) 2015 Fujitsu Ltd.
-* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
-*/
+ * Copyright (c) 2015 Fujitsu Ltd.
+ * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
+ * Copyright (c) Linux Test Project, 2016-2023
+ */
/*\
* [Description]
@@ -38,7 +39,7 @@ static struct tcase {
{1, CHUNK*3/2, CHUNK/2, 'b'}
};
-void verify_preadv(unsigned int n)
+static void verify_preadv(unsigned int n)
{
int i;
char *vec;
@@ -81,7 +82,7 @@ void verify_preadv(unsigned int n)
"with content '%c' expectedly", tc->size, tc->content);
}
-void setup(void)
+static void setup(void)
{
char buf[CHUNK];
@@ -94,7 +95,7 @@ void setup(void)
SAFE_WRITE(SAFE_WRITE_ALL, fd, buf, sizeof(buf));
}
-void cleanup(void)
+static void cleanup(void)
{
if (fd > 0)
SAFE_CLOSE(fd);
diff --git a/testcases/kernel/syscalls/preadv/preadv02.c b/testcases/kernel/syscalls/preadv/preadv02.c
index bfcf5052b..9977a4f48 100644
--- a/testcases/kernel/syscalls/preadv/preadv02.c
+++ b/testcases/kernel/syscalls/preadv/preadv02.c
@@ -1,8 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
-* Copyright (c) 2015-2016 Fujitsu Ltd.
-* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
-*/
+ * Copyright (c) 2015-2016 Fujitsu Ltd.
+ * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
+ * Copyright (c) Linux Test Project, 2017-2023
+ */
/*\
* [Description]
diff --git a/testcases/kernel/syscalls/preadv/preadv03.c b/testcases/kernel/syscalls/preadv/preadv03.c
index 5d2946bc3..558d85050 100644
--- a/testcases/kernel/syscalls/preadv/preadv03.c
+++ b/testcases/kernel/syscalls/preadv/preadv03.c
@@ -2,6 +2,7 @@
/*
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
+ * Copyright (c) Linux Test Project, 2019-2023
*/
/*\
--
2.40.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [LTP] [PATCH v2 3/4] syscalls/pwritev: Fix docparse
2024-01-21 12:29 [LTP] [PATCH v2 1/4] syscalls/preadv: Fix docparse Xiao Yang
2024-01-21 12:29 ` [LTP] [PATCH v2 2/4] syscalls/preadv: Make make check happy Xiao Yang
@ 2024-01-21 12:29 ` Xiao Yang
2024-01-21 19:46 ` Petr Vorel
2024-01-21 12:29 ` [LTP] [PATCH v2 4/4] syscalls/pwritev: Make make check happy Xiao Yang
2024-01-21 19:41 ` [LTP] [PATCH v2 1/4] syscalls/preadv: Fix docparse Petr Vorel
3 siblings, 1 reply; 9+ messages in thread
From: Xiao Yang @ 2024-01-21 12:29 UTC (permalink / raw)
To: pvorel; +Cc: ltp
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
---
testcases/kernel/syscalls/pwritev/pwritev01.c | 16 +++++-----
testcases/kernel/syscalls/pwritev/pwritev02.c | 32 +++++++------------
testcases/kernel/syscalls/pwritev/pwritev03.c | 6 ++--
3 files changed, 23 insertions(+), 31 deletions(-)
diff --git a/testcases/kernel/syscalls/pwritev/pwritev01.c b/testcases/kernel/syscalls/pwritev/pwritev01.c
index 66358f7c4..d0ec14a69 100644
--- a/testcases/kernel/syscalls/pwritev/pwritev01.c
+++ b/testcases/kernel/syscalls/pwritev/pwritev01.c
@@ -4,14 +4,14 @@
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
*/
-/*
-* Test Name: pwritev01
-*
-* Test Description:
-* Testcase to check the basic functionality of the pwritev(2).
-* pwritev(2) should succeed to write the expected content of data
-* and after writing the file, the file offset is not changed.
-*/
+/*\
+ * [Description]
+ *
+ * Testcase to check the basic functionality of the pwritev(2).
+ *
+ * pwritev(2) should succeed to write the expected content of data
+ * and after writing the file, the file offset is not changed.
+ */
#define _GNU_SOURCE
#include <string.h>
diff --git a/testcases/kernel/syscalls/pwritev/pwritev02.c b/testcases/kernel/syscalls/pwritev/pwritev02.c
index 0881b7566..f3a7cc003 100644
--- a/testcases/kernel/syscalls/pwritev/pwritev02.c
+++ b/testcases/kernel/syscalls/pwritev/pwritev02.c
@@ -4,27 +4,17 @@
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
*/
-/*
-* Test Name: pwritev02
-*
-* Description:
-* 1) pwritev(2) fails if iov_len is invalid.
-* 2) pwritev(2) fails if the vector count iovcnt is less than zero.
-* 3) pwritev(2) fails if offset is negative.
-* 4) pwritev(2) fails when attempts to write from a invalid address
-* 5) pwritev(2) fails if file descriptor is invalid.
-* 6) pwritev(2) fails if file descriptor is not open for writing.
-* 7) pwritev(2) fails if fd is associated with a pipe.
-*
-* Expected Result:
-* 1) pwritev(2) should return -1 and set errno to EINVAL.
-* 2) pwritev(2) should return -1 and set errno to EINVAL.
-* 3) pwritev(2) should return -1 and set errno to EINVAL.
-* 4) pwritev(2) should return -1 and set errno to EFAULT.
-* 5) pwritev(2) should return -1 and set errno to EBADF.
-* 6) pwritev(2) should return -1 and set errno to EBADF.
-* 7) pwritev(2) should return -1 and set errno to ESPIPE.
-*/
+/*\
+ * [Description]
+ *
+ * - EINVAL when iov_len is invalid.
+ * - EINVAL when the vector count iovcnt is less than zero.
+ * - EINVAL when offset is negative.
+ * - EFAULT when attempts to write from a invalid address
+ * - EBADF when file descriptor is invalid.
+ * - EBADF when file descriptor is not open for writing.
+ * - ESPIPE when fd is associated with a pipe.
+ */
#define _GNU_SOURCE
diff --git a/testcases/kernel/syscalls/pwritev/pwritev03.c b/testcases/kernel/syscalls/pwritev/pwritev03.c
index 8b91de336..ea2892971 100644
--- a/testcases/kernel/syscalls/pwritev/pwritev03.c
+++ b/testcases/kernel/syscalls/pwritev/pwritev03.c
@@ -4,10 +4,12 @@
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
*/
-/*
- * Description:
+/*\
+ * [Description]
+ *
* Check the basic functionality of the pwritev(2) for the file
* opened with O_DIRECT in all filesystem.
+ *
* pwritev(2) should succeed to write the expected content of data
* and after writing the file, the file offset is not changed.
*/
--
2.40.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [LTP] [PATCH v2 4/4] syscalls/pwritev: Make make check happy
2024-01-21 12:29 [LTP] [PATCH v2 1/4] syscalls/preadv: Fix docparse Xiao Yang
2024-01-21 12:29 ` [LTP] [PATCH v2 2/4] syscalls/preadv: Make make check happy Xiao Yang
2024-01-21 12:29 ` [LTP] [PATCH v2 3/4] syscalls/pwritev: Fix docparse Xiao Yang
@ 2024-01-21 12:29 ` Xiao Yang
2024-01-21 19:49 ` Petr Vorel
2024-01-21 19:41 ` [LTP] [PATCH v2 1/4] syscalls/preadv: Fix docparse Petr Vorel
3 siblings, 1 reply; 9+ messages in thread
From: Xiao Yang @ 2024-01-21 12:29 UTC (permalink / raw)
To: pvorel; +Cc: ltp
Also add LTP Copyright.
Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
---
testcases/kernel/syscalls/pwritev/pwritev.h | 21 ++++++-------------
testcases/kernel/syscalls/pwritev/pwritev01.c | 7 ++++---
testcases/kernel/syscalls/pwritev/pwritev02.c | 7 ++++---
testcases/kernel/syscalls/pwritev/pwritev03.c | 3 ++-
4 files changed, 16 insertions(+), 22 deletions(-)
diff --git a/testcases/kernel/syscalls/pwritev/pwritev.h b/testcases/kernel/syscalls/pwritev/pwritev.h
index 833160ddb..bc98487d0 100644
--- a/testcases/kernel/syscalls/pwritev/pwritev.h
+++ b/testcases/kernel/syscalls/pwritev/pwritev.h
@@ -1,18 +1,9 @@
-/*
-* Copyright (c) 2015 Fujitsu Ltd.
-* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
-*
-* This program is free software; you can redistribute it and/or modify it
-* under the terms of version 2 of the GNU General Public License as
-* published by the Free Software Foundation.
-*
-* This program is distributed in the hope that it would be useful, but
-* WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-*
-* You should have received a copy of the GNU General Public License
-* alone with this program.
-*/
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (c) 2015 Fujitsu Ltd.
+ * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
+ * Copyright (c) Linux Test Project, 2016-2023
+ */
#ifndef PWRITEV_H
#define PWRITEV_H
diff --git a/testcases/kernel/syscalls/pwritev/pwritev01.c b/testcases/kernel/syscalls/pwritev/pwritev01.c
index d0ec14a69..f5fce81f2 100644
--- a/testcases/kernel/syscalls/pwritev/pwritev01.c
+++ b/testcases/kernel/syscalls/pwritev/pwritev01.c
@@ -1,8 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
-* Copyright (c) 2015 Fujitsu Ltd.
-* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
-*/
+ * Copyright (c) 2015 Fujitsu Ltd.
+ * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
+ * Copyright (c) Linux Test Project, 2016-2023
+ */
/*\
* [Description]
diff --git a/testcases/kernel/syscalls/pwritev/pwritev02.c b/testcases/kernel/syscalls/pwritev/pwritev02.c
index f3a7cc003..59a286847 100644
--- a/testcases/kernel/syscalls/pwritev/pwritev02.c
+++ b/testcases/kernel/syscalls/pwritev/pwritev02.c
@@ -1,8 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
-* Copyright (c) 2015-2016 Fujitsu Ltd.
-* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
-*/
+ * Copyright (c) 2015-2016 Fujitsu Ltd.
+ * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
+ * Copyright (c) Linux Test Project, 2017-2023
+ */
/*\
* [Description]
diff --git a/testcases/kernel/syscalls/pwritev/pwritev03.c b/testcases/kernel/syscalls/pwritev/pwritev03.c
index ea2892971..1bf9d5731 100644
--- a/testcases/kernel/syscalls/pwritev/pwritev03.c
+++ b/testcases/kernel/syscalls/pwritev/pwritev03.c
@@ -2,6 +2,7 @@
/*
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
+ * Copyright (c) Linux Test Project, 2019-2023
*/
/*\
@@ -92,7 +93,7 @@ static void verify_direct_pwritev(unsigned int n)
static void setup(void)
{
int dev_fd, ret;
-
+
dev_fd = SAFE_OPEN(tst_device->dev, O_RDWR);
SAFE_IOCTL(dev_fd, BLKSSZGET, &ret);
SAFE_CLOSE(dev_fd);
--
2.40.0
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [LTP] [PATCH v2 1/4] syscalls/preadv: Fix docparse
2024-01-21 12:29 [LTP] [PATCH v2 1/4] syscalls/preadv: Fix docparse Xiao Yang
` (2 preceding siblings ...)
2024-01-21 12:29 ` [LTP] [PATCH v2 4/4] syscalls/pwritev: Make make check happy Xiao Yang
@ 2024-01-21 19:41 ` Petr Vorel
3 siblings, 0 replies; 9+ messages in thread
From: Petr Vorel @ 2024-01-21 19:41 UTC (permalink / raw)
To: Xiao Yang; +Cc: ltp
Hi Xiao Yang,
Thanks!
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LTP] [PATCH v2 2/4] syscalls/preadv: Make make check happy
2024-01-21 12:29 ` [LTP] [PATCH v2 2/4] syscalls/preadv: Make make check happy Xiao Yang
@ 2024-01-21 19:45 ` Petr Vorel
0 siblings, 0 replies; 9+ messages in thread
From: Petr Vorel @ 2024-01-21 19:45 UTC (permalink / raw)
To: Xiao Yang; +Cc: ltp
Hi Xiao Yang,
> Also add LTP Copyright.
+1
> Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
> ---
> testcases/kernel/syscalls/preadv/preadv.h | 21 ++++++---------------
> testcases/kernel/syscalls/preadv/preadv01.c | 13 +++++++------
> testcases/kernel/syscalls/preadv/preadv02.c | 7 ++++---
> testcases/kernel/syscalls/preadv/preadv03.c | 1 +
> 4 files changed, 18 insertions(+), 24 deletions(-)
> diff --git a/testcases/kernel/syscalls/preadv/preadv.h b/testcases/kernel/syscalls/preadv/preadv.h
> index 73466a9aa..bfe7e7223 100644
> --- a/testcases/kernel/syscalls/preadv/preadv.h
> +++ b/testcases/kernel/syscalls/preadv/preadv.h
> @@ -1,18 +1,9 @@
> -/*
> -* Copyright (c) 2015 Fujitsu Ltd.
> -* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
> -*
> -* This program is free software; you can redistribute it and/or modify it
> -* under the terms of version 2 of the GNU General Public License as
> -* published by the Free Software Foundation.
Xiao Yang, you are the author of this. Could you please relicense to GPL v2+
(GPL-2.0-or-later) and state that on the commit message?
Otherwise LGTM.
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LTP] [PATCH v2 3/4] syscalls/pwritev: Fix docparse
2024-01-21 12:29 ` [LTP] [PATCH v2 3/4] syscalls/pwritev: Fix docparse Xiao Yang
@ 2024-01-21 19:46 ` Petr Vorel
0 siblings, 0 replies; 9+ messages in thread
From: Petr Vorel @ 2024-01-21 19:46 UTC (permalink / raw)
To: Xiao Yang; +Cc: ltp
Hi Xiao Yang,
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LTP] [PATCH v2 4/4] syscalls/pwritev: Make make check happy
2024-01-21 12:29 ` [LTP] [PATCH v2 4/4] syscalls/pwritev: Make make check happy Xiao Yang
@ 2024-01-21 19:49 ` Petr Vorel
2024-01-28 16:31 ` Xiao Yang
0 siblings, 1 reply; 9+ messages in thread
From: Petr Vorel @ 2024-01-21 19:49 UTC (permalink / raw)
To: Xiao Yang; +Cc: ltp
Hi Xiao Yang,
> Also add LTP Copyright.
> Signed-off-by: Xiao Yang <yangx.jy@fujitsu.com>
> ---
> testcases/kernel/syscalls/pwritev/pwritev.h | 21 ++++++-------------
> testcases/kernel/syscalls/pwritev/pwritev01.c | 7 ++++---
> testcases/kernel/syscalls/pwritev/pwritev02.c | 7 ++++---
> testcases/kernel/syscalls/pwritev/pwritev03.c | 3 ++-
> 4 files changed, 16 insertions(+), 22 deletions(-)
> diff --git a/testcases/kernel/syscalls/pwritev/pwritev.h b/testcases/kernel/syscalls/pwritev/pwritev.h
> index 833160ddb..bc98487d0 100644
> --- a/testcases/kernel/syscalls/pwritev/pwritev.h
> +++ b/testcases/kernel/syscalls/pwritev/pwritev.h
> @@ -1,18 +1,9 @@
> -/*
> -* Copyright (c) 2015 Fujitsu Ltd.
> -* Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
> -*
> -* This program is free software; you can redistribute it and/or modify it
> -* under the terms of version 2 of the GNU General Public License as
> -* published by the Free Software Foundation.
> -*
> -* This program is distributed in the hope that it would be useful, but
> -* WITHOUT ANY WARRANTY; without even the implied warranty of
> -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> -*
> -* You should have received a copy of the GNU General Public License
> -* alone with this program.
> -*/
> +/* SPDX-License-Identifier: GPL-2.0
Again, you're the author, you could dare to relicense to GPL-2.0-or-later
Reviewed-by: Petr Vorel <pvorel@suse.cz>
Although there is git freeze since Friday [1], I guess these simple fixes can be
merged even on Monday.
Kind regards,
Petr
[1] https://lore.kernel.org/ltp/Zak5QdHCUyUmJ5x4@yuki/
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [LTP] [PATCH v2 4/4] syscalls/pwritev: Make make check happy
2024-01-21 19:49 ` Petr Vorel
@ 2024-01-28 16:31 ` Xiao Yang
0 siblings, 0 replies; 9+ messages in thread
From: Xiao Yang @ 2024-01-28 16:31 UTC (permalink / raw)
To: Petr Vorel; +Cc: ltp
Hi Petr,
Merged with your reviewed-by and relicense.
Thanks a lot.
Best Regards,
Xiao Yang
--
Mailing list info: https://lists.linux.it/listinfo/ltp
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-01-28 16:32 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-21 12:29 [LTP] [PATCH v2 1/4] syscalls/preadv: Fix docparse Xiao Yang
2024-01-21 12:29 ` [LTP] [PATCH v2 2/4] syscalls/preadv: Make make check happy Xiao Yang
2024-01-21 19:45 ` Petr Vorel
2024-01-21 12:29 ` [LTP] [PATCH v2 3/4] syscalls/pwritev: Fix docparse Xiao Yang
2024-01-21 19:46 ` Petr Vorel
2024-01-21 12:29 ` [LTP] [PATCH v2 4/4] syscalls/pwritev: Make make check happy Xiao Yang
2024-01-21 19:49 ` Petr Vorel
2024-01-28 16:31 ` Xiao Yang
2024-01-21 19:41 ` [LTP] [PATCH v2 1/4] syscalls/preadv: Fix docparse Petr Vorel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.