Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ocxl: do not use C++ style comments in uapi header

Linux kernel tolerates C++ style comments these days. Actually, the
SPDX License tags for .c files start with //.

On the other hand, uapi headers are written in more strict C, where
the C++ comment style is forbidden.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Frederic Barrat <fbarrat@linux.ibm.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>

authored by

Masahiro Yamada and committed by
Michael Ellerman
2305ff22 a3bf9fbd

+7 -7
+7 -7
include/uapi/misc/ocxl.h
··· 33 33 }; 34 34 35 35 struct ocxl_ioctl_metadata { 36 - __u16 version; // struct version, always backwards compatible 36 + __u16 version; /* struct version, always backwards compatible */ 37 37 38 - // Version 0 fields 38 + /* Version 0 fields */ 39 39 __u8 afu_version_major; 40 40 __u8 afu_version_minor; 41 - __u32 pasid; // PASID assigned to the current context 41 + __u32 pasid; /* PASID assigned to the current context */ 42 42 43 - __u64 pp_mmio_size; // Per PASID MMIO size 43 + __u64 pp_mmio_size; /* Per PASID MMIO size */ 44 44 __u64 global_mmio_size; 45 45 46 - // End version 0 fields 46 + /* End version 0 fields */ 47 47 48 - __u64 reserved[13]; // Total of 16*u64 48 + __u64 reserved[13]; /* Total of 16*u64 */ 49 49 }; 50 50 51 51 struct ocxl_ioctl_p9_wait { 52 - __u16 thread_id; // The thread ID required to wake this thread 52 + __u16 thread_id; /* The thread ID required to wake this thread */ 53 53 __u16 reserved1; 54 54 __u32 reserved2; 55 55 __u64 reserved3[3];