Skip to content

Commit e2c1e6c

Browse files
ikegami-tigaw
authored andcommitted
examples: do not use "/**" opening comment mark
Since checked by kernel-doc-check then the warning message output. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent b226747 commit e2c1e6c

8 files changed

Lines changed: 15 additions & 15 deletions

File tree

libnvme/examples/discover-loop.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// SPDX-License-Identifier: LGPL-2.1-or-later
2-
/**
2+
/*
33
* This file is part of libnvme.
44
* Copyright (c) 2020 Western Digital Corporation or its affiliates.
55
*
66
* Authors: Keith Busch <[email protected]>
77
*/
88

9-
/**
9+
/*
1010
* discover-loop: Use fabrics commands to discover any loop targets and print
1111
* those records. You must have at least one configured nvme loop target on the
1212
* system (no existing connection required). The output will look more

libnvme/examples/display-columnar.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// SPDX-License-Identifier: LGPL-2.1-or-later
2-
/**
2+
/*
33
* This file is part of libnvme.
44
* Copyright (c) 2020 Western Digital Corporation or its affiliates.
55
*
66
* Authors: Keith Busch <[email protected]>
77
*/
88

9-
/**
9+
/*
1010
* display-columnar: Scans the nvme topology, prints each record type in a
1111
* column format for easy visual scanning.
1212
*/

libnvme/examples/display-tree.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// SPDX-License-Identifier: LGPL-2.1-or-later
2-
/**
2+
/*
33
* This file is part of libnvme.
44
* Copyright (c) 2020 Western Digital Corporation or its affiliates.
55
*
66
* Authors: Keith Busch <[email protected]>
77
*/
88

9-
/**
9+
/*
1010
* display-tree: Scans the nvme topology, prints as an ascii tree with some
1111
* selected attributes for each component.
1212
*/

libnvme/examples/mi-conf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// SPDX-License-Identifier: LGPL-2.1-or-later
2-
/**
2+
/*
33
* This file is part of libnvme.
44
* Copyright (c) 2022 Code Construct Pty Ltd.
55
*
66
* Authors: Jeremy Kerr <[email protected]>
77
*/
88

9-
/**
9+
/*
1010
* mi-conf: query a device for optimal MTU and set for both the local MCTP
1111
* route (through dbus to mctpd) and the device itself (through NVMe-MI
1212
* configuration commands)

libnvme/examples/mi-mctp-ae.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// SPDX-License-Identifier: LGPL-2.1-or-later
2-
/**
2+
/*
33
* This file is part of libnvme.
44
*/
55

6-
/**
6+
/*
77
* mi-mctp-ae: open a MI connection over MCTP, supporting asynchronous event messages
88
*/
99

libnvme/examples/mi-mctp-csi-test.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
// SPDX-License-Identifier: LGPL-2.1-or-later
2-
/**
2+
/*
33
* This file is part of libnvme.
44
*/
55

6-
/**
6+
/*
77
* mi-mctp-csi-test: open a MI connection over MCTP, and send two commands
88
* in parallel with different CSI buffers
99
*/

libnvme/examples/mi-mctp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Authors: Jeremy Kerr <[email protected]>
77
*/
88

9-
/**
9+
/*
1010
* mi-mctp: open a MI connection over MCTP, and query controller info
1111
*/
1212

libnvme/examples/telemetry-listen.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// SPDX-License-Identifier: LGPL-2.1-or-later
2-
/**
2+
/*
33
* This file is part of libnvme.
44
* Copyright (c) 2020 Western Digital Corporation or its affiliates.
55
*
66
* Authors: Keith Busch <[email protected]>
77
*/
88

9-
/**
9+
/*
1010
* Open all nvme controller's uevent and listen for changes. If NVME_AEN event
1111
* is observed with controller telemetry data, read the log and save it to a
1212
* file in /var/log/ with the device's unique name and epoch timestamp.

0 commit comments

Comments
 (0)