staging: lustre: fix incorrect multi-line comment style
PATCH 1/1 staging: lustre: fix incorrect multi-line comment style
This patch fixes the checkpatch.pl warning:
WARNING: block comments use a trailing */ on a separate line
--- .../staging/lustre/lustre/include/lustre_errno.h | 51 ++++++++++++++-------- 1 file changed, 34 insertions(+), 17 deletions(-)
drivers/staging/lustre/lustre/include/lustre_errno.h +34 -17
@@ -71,7 +71,8 @@#define LUSTRE_EMLINK 31/* Too many links */ #define LUSTRE_EPIPE 32/* Broken pipe */ #define LUSTRE_EDOM 33/* Math argument out of domain of -func */ +* func +*/ #define LUSTRE_ERANGE 34/* Math result not representable */ #define LUSTRE_EDEADLK 35/* Resource deadlock would occur */ #define LUSTRE_ENAMETOOLONG 36/* File name too long */
@@ -79,7 +80,8 @@#define LUSTRE_ENOSYS 38/* Function not implemented */ #define LUSTRE_ENOTEMPTY 39/* Directory not empty */ #define LUSTRE_ELOOP 40/* Too many symbolic links -encountered */ +* encountered +*/ #define LUSTRE_ENOMSG 42/* No message of desired type */ #define LUSTRE_EIDRM 43/* Identifier removed */ #define LUSTRE_ECHRNG 44/* Channel number out of range */
@@ -113,22 +115,28 @@#define LUSTRE_EDOTDOT 73/* RFS specific error */ #define LUSTRE_EBADMSG 74/* Not a data message */ #define LUSTRE_EOVERFLOW 75/* Value too large for defined data -type */ +* type +*/ #define LUSTRE_ENOTUNIQ 76/* Name not unique on network */ #define LUSTRE_EBADFD 77/* File descriptor in bad state */ #define LUSTRE_EREMCHG 78/* Remote address changed */ #define LUSTRE_ELIBACC 79/* Can not access a needed shared -library */ +* library +*/ #define LUSTRE_ELIBBAD 80/* Accessing a corrupted shared -library */ +* ibrary +*/ #define LUSTRE_ELIBSCN 81/* .lib section in a.out corrupted */ #define LUSTRE_ELIBMAX 82/* Attempting to link in too many shared -libraries */ +* libraries +*/ #define LUSTRE_ELIBEXEC 83/* Cannot exec a shared library -directly */ +* directly +*/ #define LUSTRE_EILSEQ 84/* Illegal byte sequence */ #define LUSTRE_ERESTART 85/* Interrupted system call should be -restarted */ +* restarted +*/ #define LUSTRE_ESTRPIPE 86/* Streams pipe error */ #define LUSTRE_EUSERS 87/* Too many users */ #define LUSTRE_ENOTSOCK 88/* Socket operation on non-socket */
@@ -139,25 +147,31 @@#define LUSTRE_EPROTONOSUPPORT 93/* Protocol not supported */ #define LUSTRE_ESOCKTNOSUPPORT 94/* Socket type not supported */ #define LUSTRE_EOPNOTSUPP 95/* Operation not supported on transport -endpoint */ +* endpoint +*/ #define LUSTRE_EPFNOSUPPORT 96/* Protocol family not supported */ #define LUSTRE_EAFNOSUPPORT 97/* Address family not supported by -protocol */ +* protocol +*/ #define LUSTRE_EADDRINUSE 98/* Address already in use */ #define LUSTRE_EADDRNOTAVAIL 99/* Cannot assign requested address */ #define LUSTRE_ENETDOWN 100/* Network is down */ #define LUSTRE_ENETUNREACH 101/* Network is unreachable */ #define LUSTRE_ENETRESET 102/* Network dropped connection because of -reset */ +* reset +*/ #define LUSTRE_ECONNABORTED 103/* Software caused connection abort */ #define LUSTRE_ECONNRESET 104/* Connection reset by peer */ #define LUSTRE_ENOBUFS 105/* No buffer space available */ #define LUSTRE_EISCONN 106/* Transport endpoint is already -connected */ +* connected +*/ #define LUSTRE_ENOTCONN 107/* Transport endpoint is not -connected */ +* connected +*/ #define LUSTRE_ESHUTDOWN 108/* Cannot send after transport endpoint -shutdown */ +* shutdown +*/ #define LUSTRE_ETOOMANYREFS 109/* Too many references: cannot splice */ #define LUSTRE_ETIMEDOUT 110/* Connection timed out */ #define LUSTRE_ECONNREFUSED 111/* Connection refused */
@@ -186,7 +200,8 @@#define LUSTRE_ERESTARTNOHAND 514/* restart if no handler.. */ #define LUSTRE_ENOIOCTLCMD 515/* No ioctl command */ #define LUSTRE_ERESTART_RESTARTBLOCK 516/* restart by calling -sys_restart_syscall */ +* sys_restart_syscall +*/ #define LUSTRE_EBADHANDLE 521/* Illegal NFS file handle */ #define LUSTRE_ENOTSYNC 522/* Update synchronization mismatch */ #define LUSTRE_EBADCOOKIE 523/* Cookie is stale */
@@ -195,9 +210,11 @@#define LUSTRE_ESERVERFAULT 526/* An untranslatable error occurred */ #define LUSTRE_EBADTYPE 527/* Type not supported by server */ #define LUSTRE_EJUKEBOX 528/* Request initiated, but will not -complete before timeout */ +* complete before timeout +*/ #define LUSTRE_EIOCBQUEUED 529/* iocb queued, will get completion -event */ +* event +*/ #define LUSTRE_EIOCBRETRY 530/* iocb queued, will trigger a retry */ /*
Signature · 1 line
2.7.4