File tree Expand file tree Collapse file tree
testcases/kernel/syscalls/pwritev Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- /*
2- * Copyright (c) 2015 Fujitsu Ltd.
3- * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
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 <yangx.jy@cn.fujitsu.com>
5+ * Copyright (c) Linux Test Project, 2016-2023
6+ */
167
178#ifndef PWRITEV_H
189#define PWRITEV_H
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: GPL-2.0-or-later
22/*
3- * Copyright (c) 2015 Fujitsu Ltd.
4- * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
5- */
3+ * Copyright (c) 2015 Fujitsu Ltd.
4+ * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
5+ * Copyright (c) Linux Test Project, 2016-2023
6+ */
67
78/*\
89 * [Description]
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: GPL-2.0-or-later
22/*
3- * Copyright (c) 2015-2016 Fujitsu Ltd.
4- * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
5- */
3+ * Copyright (c) 2015-2016 Fujitsu Ltd.
4+ * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
5+ * Copyright (c) Linux Test Project, 2017-2023
6+ */
67
78/*\
89 * [Description]
Original file line number Diff line number Diff line change 22/*
33 * Copyright (c) 2018 FUJITSU LIMITED. All rights reserved.
44 * Author: Xiao Yang <yangx.jy@cn.fujitsu.com>
5+ * Copyright (c) Linux Test Project, 2019-2023
56 */
67
78/*\
@@ -92,7 +93,7 @@ static void verify_direct_pwritev(unsigned int n)
9293static 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 );
You can’t perform that action at this time.
0 commit comments