Skip to content

Commit af73370

Browse files
weiny2djbw
authored andcommitted
cxl/mem: Fix UAPI command comment
The command comment had grammatical errors. In an attempt to fix those it was noted that the comment and the query command were not in sync. Now that the query command returns excluded and device unsupported command information. Update the kdoc and fix the grammatical errors. [1] https://lore.kernel.org/all/[email protected]/ Reviewed-by: Jonathan Cameron <[email protected]> Signed-off-by: Ira Weiny <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dan Williams <[email protected]>
1 parent 814a15f commit af73370

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

include/uapi/linux/cxl_mem.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
/**
1212
* DOC: UAPI
1313
*
14-
* Not all of all commands that the driver supports are always available for use
15-
* by userspace. Userspace must check the results from the QUERY command in
16-
* order to determine the live set of commands.
14+
* Not all of the commands that the driver supports are available for use by
15+
* userspace at all times. Userspace can check the result of the QUERY command
16+
* to determine the live set of commands. Alternatively, it can issue the
17+
* command and check for failure.
1718
*/
1819

1920
#define CXL_MEM_QUERY_COMMANDS _IOR(0xCE, 1, struct cxl_mem_query_commands)

0 commit comments

Comments
 (0)