diff mbox series

[2/2] iopl02: Convert docs to docparse

Message ID 20240227085641.33715-2-xuyang2018.jy@fujitsu.com
State Accepted
Headers show
Series [1/2] iopl01: Convert docs to docparse | expand

Commit Message

Yang Xu Feb. 27, 2024, 8:56 a.m. UTC
Signed-off-by: Yang Xu <xuyang2018.jy@fujitsu.com>
---
 testcases/kernel/syscalls/iopl/iopl02.c | 18 ++++++++----------
 1 file changed, 8 insertions(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/iopl/iopl02.c b/testcases/kernel/syscalls/iopl/iopl02.c
index 7301442f9..1a588590e 100644
--- a/testcases/kernel/syscalls/iopl/iopl02.c
+++ b/testcases/kernel/syscalls/iopl/iopl02.c
@@ -1,19 +1,17 @@ 
 // SPDX-License-Identifier: GPL-2.0-or-later
 /*
- *  Copyright (c) Linux Test Project, 2020
- *  Copyright (c) Wipro Technologies Ltd, 2002
+ * Copyright (c) Linux Test Project, 2020
+ * Copyright (c) Wipro Technologies Ltd, 2002
+ * Author: Subhab Biswas <subhabrata.biswas@wipro.com>
  */
 
-/*
- * This is an error test for iopl(2) system call.
+/*\
+ * [Description]
  *
- * Verify that
- *  1) iopl(2) returns -1 and sets errno to EINVAL for privilege
- *     level greater than 3.
- *  2) iopl(2) returns -1 and sets errno to EPERM if the current
- *     user is not the super-user.
+ * Test for iopl(2) system call error.
  *
- * Author: Subhab Biswas <subhabrata.biswas@wipro.com>
+ * - iopl(2) fail with EINVAL when privilege level greater than 3.
+ * - iopl(2) fail with EPERM when the current user is not the super-user.
  */
 
 #include <errno.h>