Skip to content

Commit 03efa6c

Browse files
committed
syscalls/pwritev: Make make check happy
1) Relicense to GPL v2+ for pwritev.h. 2) Add LTP Copyright. Signed-off-by: Xiao Yang <[email protected]> Reviewed-by: Petr Vorel <[email protected]>
1 parent 0a81af9 commit 03efa6c

File tree

4 files changed

+16
-22
lines changed

4 files changed

+16
-22
lines changed

testcases/kernel/syscalls/pwritev/pwritev.h

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
1-
/*
2-
* Copyright (c) 2015 Fujitsu Ltd.
3-
* Author: Xiao Yang <[email protected]>
4-
*
5-
* This program is free software; you can redistribute it and/or modify it
6-
* under the terms of version 2 of the GNU General Public License as
7-
* published by the Free Software Foundation.
8-
*
9-
* This program is distributed in the hope that it would be useful, but
10-
* WITHOUT ANY WARRANTY; without even the implied warranty of
11-
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12-
*
13-
* You should have received a copy of the GNU General Public License
14-
* alone with this program.
15-
*/
1+
/* SPDX-License-Identifier: GPL-2.0-or-later
2+
*
3+
* Copyright (c) 2015 Fujitsu Ltd.
4+
* Author: Xiao Yang <[email protected]>
5+
* Copyright (c) Linux Test Project, 2016-2023
6+
*/
167

178
#ifndef PWRITEV_H
189
#define PWRITEV_H

testcases/kernel/syscalls/pwritev/pwritev01.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22
/*
3-
* Copyright (c) 2015 Fujitsu Ltd.
4-
* Author: Xiao Yang <[email protected]>
5-
*/
3+
* Copyright (c) 2015 Fujitsu Ltd.
4+
* Author: Xiao Yang <[email protected]>
5+
* Copyright (c) Linux Test Project, 2016-2023
6+
*/
67

78
/*\
89
* [Description]

testcases/kernel/syscalls/pwritev/pwritev02.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
// SPDX-License-Identifier: GPL-2.0-or-later
22
/*
3-
* Copyright (c) 2015-2016 Fujitsu Ltd.
4-
* Author: Xiao Yang <[email protected]>
5-
*/
3+
* Copyright (c) 2015-2016 Fujitsu Ltd.
4+
* Author: Xiao Yang <[email protected]>
5+
* Copyright (c) Linux Test Project, 2017-2023
6+
*/
67

78
/*\
89
* [Description]

testcases/kernel/syscalls/pwritev/pwritev03.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/*
33
* Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
44
* Author: Xiao Yang <[email protected]>
5+
* Copyright (c) Linux Test Project, 2019-2023
56
*/
67

78
/*\
@@ -92,7 +93,7 @@ static void verify_direct_pwritev(unsigned int n)
9293
static void setup(void)
9394
{
9495
int dev_fd, ret;
95-
96+
9697
dev_fd = SAFE_OPEN(tst_device->dev, O_RDWR);
9798
SAFE_IOCTL(dev_fd, BLKSSZGET, &ret);
9899
SAFE_CLOSE(dev_fd);

0 commit comments

Comments
 (0)