Skip to content

Commit bf22c1d

Browse files
committed
nvme: Whitespace cleanups in header files
Cleanup whitespace damages with emacs whitespace cleanup tool. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 914ad2f commit bf22c1d

5 files changed

Lines changed: 1236 additions & 1236 deletions

File tree

src/nvme/fabrics.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright (c) 2020 Western Digital Corporation or its affiliates.
55
*
66
* Authors: Keith Busch <[email protected]>
7-
* Chaitanya Kulkarni <[email protected]>
7+
* Chaitanya Kulkarni <[email protected]>
88
*/
99
#ifndef _LIBNVME_FABRICS_H
1010
#define _LIBNVME_FABRICS_H
@@ -195,7 +195,7 @@ int nvmf_add_ctrl(nvme_host_t h, nvme_ctrl_t c,
195195

196196
/**
197197
* nvmf_get_discovery_log() - Return the discovery log page
198-
* @c: Discover controller to use
198+
* @c: Discover controller to use
199199
* @logp: Pointer to the log page to be returned
200200
* @max_retries: maximum number of log page entries to be returned
201201
*
@@ -213,17 +213,17 @@ char *nvmf_hostnqn_generate();
213213

214214
/**
215215
* nvmf_hostnqn_from_file() - Reads the host nvm qualified name from the config
216-
* default location in @SYSCONFDIR@/nvme/
216+
* default location in @SYSCONFDIR@/nvme/
217217
* Return: The host nqn, or NULL if unsuccessful. If found, the caller
218218
* is responsible to free the string.
219219
*/
220220
char *nvmf_hostnqn_from_file();
221221

222222
/**
223223
* nvmf_hostid_from_file() - Reads the host identifier from the config default
224-
* location in @SYSCONFDIR@/nvme/.
224+
* location in @SYSCONFDIR@/nvme/.
225225
* Return: The host identifier, or NULL if unsuccessful. If found, the caller
226-
* is responsible to free the string.
226+
* is responsible to free the string.
227227
*/
228228
char *nvmf_hostid_from_file();
229229

src/nvme/ioctl.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright (c) 2020 Western Digital Corporation or its affiliates.
55
*
66
* Authors: Keith Busch <[email protected]>
7-
* Chaitanya Kulkarni <[email protected]>
7+
* Chaitanya Kulkarni <[email protected]>
88
*/
99

1010
#ifndef _LIBNVME_IOCTL_H
@@ -195,7 +195,7 @@ struct nvme_uring_cmd {
195195

196196
/**
197197
* nvme_submit_admin_passthru64() - Submit a 64-bit nvme passthrough admin
198-
* command
198+
* command
199199
* @fd: File descriptor of nvme device
200200
* @cmd: The nvme admin command to send
201201
* @result: Optional field to return the result from the CQE DW0-1
@@ -517,7 +517,7 @@ static inline int nvme_identify_ns(int fd, __u32 nsid, struct nvme_id_ns *ns)
517517

518518
/**
519519
* nvme_identify_allocated_ns() - Same as nvme_identify_ns, but only for
520-
* allocated namespaces
520+
* allocated namespaces
521521
* @fd: File descriptor of nvme device
522522
* @nsid: Namespace to identify
523523
* @ns: User space destination address to transfer the data
@@ -709,7 +709,7 @@ static inline int nvme_identify_nvmset_list(int fd, __u16 nvmsetid,
709709

710710
/**
711711
* nvme_identify_primary_ctrl() - Retrieve NVMe Primary Controller
712-
* identification
712+
* identification
713713
* @fd: File descriptor of nvme device
714714
* @cntid: Return controllers starting at this identifier
715715
* @cap: User space destination buffer address to transfer the data
@@ -779,7 +779,7 @@ static inline int nvme_identify_secondary_ctrl_list(int fd, __u32 nsid,
779779

780780
/**
781781
* nvme_identify_ns_granularity() - Retrieves namespace granularity
782-
* identification
782+
* identification
783783
* @fd: File descriptor of nvme device
784784
* @gr_list: User space destination address to transfer the data
785785
*
@@ -886,7 +886,7 @@ static inline int nvme_identify_ctrl_csi(int fd, enum nvme_csi csi, void *data)
886886
}
887887

888888
/**
889-
* nvme_identify_active_ns_list_csi() - Active namespace ID list associated with a specified I/O command set
889+
* nvme_identify_active_ns_list_csi() - Active namespace ID list associated with a specified I/O command set
890890
* @fd: File descriptor of nvme device
891891
* @nsid: Return namespaces greater than this identifier
892892
* @csi: Command Set Identifier

src/nvme/tree.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ int nvme_dump_tree(nvme_root_t r);
11501150
* @attr: sysfs attribute name
11511151
*
11521152
* Return: String with the contents of @attr or %NULL in case of an empty value
1153-
* or in case of an error (indicated by non-zero errno code).
1153+
* or in case of an error (indicated by non-zero errno code).
11541154
*/
11551155
char *nvme_get_attr(const char *d, const char *attr);
11561156

@@ -1160,7 +1160,7 @@ char *nvme_get_attr(const char *d, const char *attr);
11601160
* @attr: sysfs attribute name
11611161
*
11621162
* Return: String with the contents of @attr or %NULL in case of an empty value
1163-
* or in case of an error (indicated by non-zero errno code).
1163+
* or in case of an error (indicated by non-zero errno code).
11641164
*/
11651165
char *nvme_get_subsys_attr(nvme_subsystem_t s, const char *attr);
11661166

@@ -1170,7 +1170,7 @@ char *nvme_get_subsys_attr(nvme_subsystem_t s, const char *attr);
11701170
* @attr: sysfs attribute name
11711171
*
11721172
* Return: String with the contents of @attr or %NULL in case of an empty value
1173-
* or in case of an error (indicated by non-zero errno code).
1173+
* or in case of an error (indicated by non-zero errno code).
11741174
*/
11751175
char *nvme_get_ctrl_attr(nvme_ctrl_t c, const char *attr);
11761176

@@ -1180,7 +1180,7 @@ char *nvme_get_ctrl_attr(nvme_ctrl_t c, const char *attr);
11801180
* @attr: sysfs attribute name
11811181
*
11821182
* Return: String with the contents of @attr or %NULL in case of an empty value
1183-
* or in case of an error (indicated by non-zero errno code).
1183+
* or in case of an error (indicated by non-zero errno code).
11841184
*/
11851185
char *nvme_get_ns_attr(nvme_ns_t n, const char *attr);
11861186

@@ -1200,7 +1200,7 @@ nvme_ns_t nvme_subsystem_lookup_namespace(struct nvme_subsystem *s,
12001200
* @attr: sysfs attribute name
12011201
*
12021202
* Return: String with the contents of @attr or %NULL in case of an empty value
1203-
* or in case of an error (indicated by non-zero errno code).
1203+
* or in case of an error (indicated by non-zero errno code).
12041204
*/
12051205
char *nvme_get_path_attr(nvme_path_t p, const char *attr);
12061206

0 commit comments

Comments
 (0)