* [dpdk-test-report] |WARNING| pw36655 [PATCH] vhost: fix segfault as handle set_mem_table message
[not found] <F6F2A6264E145F47A18AB6DF8E87425D7011903B@IRSMSX102.ger.corp.intel.com>
@ 2018-03-29 12:58 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-03-29 12:58 UTC (permalink / raw)
To: test-report; +Cc: Pawel Wodkowski
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/36655
_coding style issues_
WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#25:
> >> FYI, Victor is working on implementing a lock-less protection mechanism
ERROR:DIFF_IN_COMMIT_MSG: Avoid using diff content in the commit message - patch(1) might not work
#117:
--- a/lib/librte_vhost/Makefile
ERROR:DOS_LINE_ENDINGS: DOS line endings
#124: FILE: lib/librte_vhost/Makefile:28:
+SYMLINK-$(CONFIG_RTE_LIBRTE_VHOST)-include += rte_vhost.h rte_vhost_user.h^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#135: FILE: lib/librte_vhost/rte_vhost.h:19:
+#include <rte_vhost_user.h>^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#136: FILE: lib/librte_vhost/rte_vhost.h:20:
+^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#150: FILE: lib/librte_vhost/rte_vhost.h:69:
+ * Vhost library started processing given vhost user message.^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#151: FILE: lib/librte_vhost/rte_vhost.h:70:
+ *^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#152: FILE: lib/librte_vhost/rte_vhost.h:71:
+ * This state should be used eg. to stop rings processing in case of^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#153: FILE: lib/librte_vhost/rte_vhost.h:72:
+ * SET_MEM_TABLE message.^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#154: FILE: lib/librte_vhost/rte_vhost.h:73:
+ *^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#155: FILE: lib/librte_vhost/rte_vhost.h:74:
+ * Backend is allowed to return any result of RTE_VHOST_USER_MESSAGE_RESULT_*.^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#156: FILE: lib/librte_vhost/rte_vhost.h:75:
+ */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#157: FILE: lib/librte_vhost/rte_vhost.h:76:
+#define RTE_VHOST_USER_MSG_START 0^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#158: FILE: lib/librte_vhost/rte_vhost.h:77:
+^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#159: FILE: lib/librte_vhost/rte_vhost.h:78:
+/**^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#160: FILE: lib/librte_vhost/rte_vhost.h:79:
+ * Vhost library is finishing processing given vhost user message.^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#161: FILE: lib/librte_vhost/rte_vhost.h:80:
+ * If backend have handled the message produced response is passed as message^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#162: FILE: lib/librte_vhost/rte_vhost.h:81:
+ * parameter. If response is needed it will be send after returning.^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#163: FILE: lib/librte_vhost/rte_vhost.h:82:
+ *^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#164: FILE: lib/librte_vhost/rte_vhost.h:83:
+ * This state might be used to resume ring processing in case of SET_MEM_TABLE^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#165: FILE: lib/librte_vhost/rte_vhost.h:84:
+ * message.^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#166: FILE: lib/librte_vhost/rte_vhost.h:85:
+ *^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#167: FILE: lib/librte_vhost/rte_vhost.h:86:
+ * Returning RTE_VHOST_USER_MSG_RESULT_FAILED will trigger failure action in^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#168: FILE: lib/librte_vhost/rte_vhost.h:87:
+ * vhost library.^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#169: FILE: lib/librte_vhost/rte_vhost.h:88:
+ */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#170: FILE: lib/librte_vhost/rte_vhost.h:89:
+#define RTE_VHOST_USER_MSG_END 1^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#171: FILE: lib/librte_vhost/rte_vhost.h:90:
+^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#172: FILE: lib/librte_vhost/rte_vhost.h:91:
+/**^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#173: FILE: lib/librte_vhost/rte_vhost.h:92:
+ * Backend understood the message but processing it failed for some reason.^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#174: FILE: lib/librte_vhost/rte_vhost.h:93:
+ * vhost library will take the failure action - chance closing existing^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#175: FILE: lib/librte_vhost/rte_vhost.h:94:
+ * connection.^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#176: FILE: lib/librte_vhost/rte_vhost.h:95:
+ */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#177: FILE: lib/librte_vhost/rte_vhost.h:96:
+#define RTE_VHOST_USER_MSG_RESULT_FAILED -1^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#178: FILE: lib/librte_vhost/rte_vhost.h:97:
+^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#179: FILE: lib/librte_vhost/rte_vhost.h:98:
+/**^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#180: FILE: lib/librte_vhost/rte_vhost.h:99:
+ * Backend understood the message and handled it entirly. Backend is responsible^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#181: FILE: lib/librte_vhost/rte_vhost.h:100:
+ * for filling message object with right response data.^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#182: FILE: lib/librte_vhost/rte_vhost.h:101:
+ */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#183: FILE: lib/librte_vhost/rte_vhost.h:102:
+#define RTE_VHOST_USER_MSG_RESULT_HANDLED 0^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#184: FILE: lib/librte_vhost/rte_vhost.h:103:
+^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#185: FILE: lib/librte_vhost/rte_vhost.h:104:
+/**^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#186: FILE: lib/librte_vhost/rte_vhost.h:105:
+ * Backend ignored the message or understood and took some action. In either^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#187: FILE: lib/librte_vhost/rte_vhost.h:106:
+ * case the message need to be further processed by vhost library.^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#188: FILE: lib/librte_vhost/rte_vhost.h:107:
+ *^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#189: FILE: lib/librte_vhost/rte_vhost.h:108:
+ * Backend is not allowed to change passed message.^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#190: FILE: lib/librte_vhost/rte_vhost.h:109:
+ */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#191: FILE: lib/librte_vhost/rte_vhost.h:110:
+#define RTE_VHOST_USER_MSG_RESULT_OK 1^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#192: FILE: lib/librte_vhost/rte_vhost.h:111:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#193: FILE: lib/librte_vhost/rte_vhost.h:112:
+^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#194: FILE: lib/librte_vhost/rte_vhost.h:113:
+/**^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#203: FILE: lib/librte_vhost/rte_vhost.h:133:
+^I/**^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#204: FILE: lib/librte_vhost/rte_vhost.h:134:
+^I * Backend callback for user message.^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#205: FILE: lib/librte_vhost/rte_vhost.h:135:
+^I *^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#206: FILE: lib/librte_vhost/rte_vhost.h:136:
+^I * @param vid id of vhost device^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#207: FILE: lib/librte_vhost/rte_vhost.h:137:
+^I * @param msg message object.^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#208: FILE: lib/librte_vhost/rte_vhost.h:138:
+^I * @param phase RTE_VHOST_USER_MSG_START or RTE_VHOST_USER_MSG_END^M$
ERROR:TRAILING_WHITESPACE: trailing whitespace
#209: FILE: lib/librte_vhost/rte_vhost.h:139:
+^I * @return one of RTE_VHOST_USER_MESSAGE_RESULT_*^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#210: FILE: lib/librte_vhost/rte_vhost.h:140:
+^I */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#211: FILE: lib/librte_vhost/rte_vhost.h:141:
+^Iint (*user_message_handler)(int vid, struct VhostUserMsg *msg, int phase);^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#212: FILE: lib/librte_vhost/rte_vhost.h:142:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#213: FILE: lib/librte_vhost/rte_vhost.h:143:
+^Ivoid *reserved[1]; /**< Reserved for future extension */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#223: FILE: lib/librte_vhost/rte_vhost_user.h:1:
+#ifndef _VHOST_RTE_VHOST_USER_H_^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#224: FILE: lib/librte_vhost/rte_vhost_user.h:2:
+#define _VHOST_RTE_VHOST_USER_H_^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#225: FILE: lib/librte_vhost/rte_vhost_user.h:3:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#226: FILE: lib/librte_vhost/rte_vhost_user.h:4:
+#include <stdint.h>^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#227: FILE: lib/librte_vhost/rte_vhost_user.h:5:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#228: FILE: lib/librte_vhost/rte_vhost_user.h:6:
+#ifdef __cplusplus^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#229: FILE: lib/librte_vhost/rte_vhost_user.h:7:
+extern "C" {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#230: FILE: lib/librte_vhost/rte_vhost_user.h:8:
+#endif^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#231: FILE: lib/librte_vhost/rte_vhost_user.h:9:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#232: FILE: lib/librte_vhost/rte_vhost_user.h:10:
+/* These are not C++-aware. */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#233: FILE: lib/librte_vhost/rte_vhost_user.h:11:
+#include <linux/vhost.h>^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#234: FILE: lib/librte_vhost/rte_vhost_user.h:12:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#235: FILE: lib/librte_vhost/rte_vhost_user.h:13:
+/* refer to hw/virtio/vhost-user.c */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#236: FILE: lib/librte_vhost/rte_vhost_user.h:14:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#237: FILE: lib/librte_vhost/rte_vhost_user.h:15:
+struct vhost_iotlb_msg {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#238: FILE: lib/librte_vhost/rte_vhost_user.h:16:
+^I__u64 iova;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#239: FILE: lib/librte_vhost/rte_vhost_user.h:17:
+^I__u64 size;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#240: FILE: lib/librte_vhost/rte_vhost_user.h:18:
+^I__u64 uaddr;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#241: FILE: lib/librte_vhost/rte_vhost_user.h:19:
+#define VHOST_ACCESS_RO 0x1^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#242: FILE: lib/librte_vhost/rte_vhost_user.h:20:
+#define VHOST_ACCESS_WO 0x2^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#243: FILE: lib/librte_vhost/rte_vhost_user.h:21:
+#define VHOST_ACCESS_RW 0x3^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#244: FILE: lib/librte_vhost/rte_vhost_user.h:22:
+^I__u8 perm;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#245: FILE: lib/librte_vhost/rte_vhost_user.h:23:
+#define VHOST_IOTLB_MISS 1^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#246: FILE: lib/librte_vhost/rte_vhost_user.h:24:
+#define VHOST_IOTLB_UPDATE 2^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#247: FILE: lib/librte_vhost/rte_vhost_user.h:25:
+#define VHOST_IOTLB_INVALIDATE 3^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#248: FILE: lib/librte_vhost/rte_vhost_user.h:26:
+#define VHOST_IOTLB_ACCESS_FAIL 4^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#249: FILE: lib/librte_vhost/rte_vhost_user.h:27:
+^I__u8 type;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#250: FILE: lib/librte_vhost/rte_vhost_user.h:28:
+};^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#251: FILE: lib/librte_vhost/rte_vhost_user.h:29:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#252: FILE: lib/librte_vhost/rte_vhost_user.h:30:
+#define VHOST_MEMORY_MAX_NREGIONS 8^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#253: FILE: lib/librte_vhost/rte_vhost_user.h:31:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#254: FILE: lib/librte_vhost/rte_vhost_user.h:32:
+#define VHOST_USER_PROTOCOL_F_MQ^I0^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#255: FILE: lib/librte_vhost/rte_vhost_user.h:33:
+#define VHOST_USER_PROTOCOL_F_LOG_SHMFD^I1^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#256: FILE: lib/librte_vhost/rte_vhost_user.h:34:
+#define VHOST_USER_PROTOCOL_F_RARP^I2^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#257: FILE: lib/librte_vhost/rte_vhost_user.h:35:
+#define VHOST_USER_PROTOCOL_F_REPLY_ACK^I3^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#258: FILE: lib/librte_vhost/rte_vhost_user.h:36:
+#define VHOST_USER_PROTOCOL_F_NET_MTU 4^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#259: FILE: lib/librte_vhost/rte_vhost_user.h:37:
+#define VHOST_USER_PROTOCOL_F_SLAVE_REQ 5^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#260: FILE: lib/librte_vhost/rte_vhost_user.h:38:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#261: FILE: lib/librte_vhost/rte_vhost_user.h:39:
+typedef enum VhostUserRequest {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#262: FILE: lib/librte_vhost/rte_vhost_user.h:40:
+^IVHOST_USER_NONE = 0,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#263: FILE: lib/librte_vhost/rte_vhost_user.h:41:
+^IVHOST_USER_GET_FEATURES = 1,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#264: FILE: lib/librte_vhost/rte_vhost_user.h:42:
+^IVHOST_USER_SET_FEATURES = 2,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#265: FILE: lib/librte_vhost/rte_vhost_user.h:43:
+^IVHOST_USER_SET_OWNER = 3,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#266: FILE: lib/librte_vhost/rte_vhost_user.h:44:
+^IVHOST_USER_RESET_OWNER = 4,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#267: FILE: lib/librte_vhost/rte_vhost_user.h:45:
+^IVHOST_USER_SET_MEM_TABLE = 5,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#268: FILE: lib/librte_vhost/rte_vhost_user.h:46:
+^IVHOST_USER_SET_LOG_BASE = 6,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#269: FILE: lib/librte_vhost/rte_vhost_user.h:47:
+^IVHOST_USER_SET_LOG_FD = 7,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#270: FILE: lib/librte_vhost/rte_vhost_user.h:48:
+^IVHOST_USER_SET_VRING_NUM = 8,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#271: FILE: lib/librte_vhost/rte_vhost_user.h:49:
+^IVHOST_USER_SET_VRING_ADDR = 9,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#272: FILE: lib/librte_vhost/rte_vhost_user.h:50:
+^IVHOST_USER_SET_VRING_BASE = 10,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#273: FILE: lib/librte_vhost/rte_vhost_user.h:51:
+^IVHOST_USER_GET_VRING_BASE = 11,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#274: FILE: lib/librte_vhost/rte_vhost_user.h:52:
+^IVHOST_USER_SET_VRING_KICK = 12,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#275: FILE: lib/librte_vhost/rte_vhost_user.h:53:
+^IVHOST_USER_SET_VRING_CALL = 13,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#276: FILE: lib/librte_vhost/rte_vhost_user.h:54:
+^IVHOST_USER_SET_VRING_ERR = 14,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#277: FILE: lib/librte_vhost/rte_vhost_user.h:55:
+^IVHOST_USER_GET_PROTOCOL_FEATURES = 15,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#278: FILE: lib/librte_vhost/rte_vhost_user.h:56:
+^IVHOST_USER_SET_PROTOCOL_FEATURES = 16,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#279: FILE: lib/librte_vhost/rte_vhost_user.h:57:
+^IVHOST_USER_GET_QUEUE_NUM = 17,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#280: FILE: lib/librte_vhost/rte_vhost_user.h:58:
+^IVHOST_USER_SET_VRING_ENABLE = 18,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#281: FILE: lib/librte_vhost/rte_vhost_user.h:59:
+^IVHOST_USER_SEND_RARP = 19,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#282: FILE: lib/librte_vhost/rte_vhost_user.h:60:
+^IVHOST_USER_NET_SET_MTU = 20,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#283: FILE: lib/librte_vhost/rte_vhost_user.h:61:
+^IVHOST_USER_SET_SLAVE_REQ_FD = 21,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#284: FILE: lib/librte_vhost/rte_vhost_user.h:62:
+^IVHOST_USER_IOTLB_MSG = 22,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#285: FILE: lib/librte_vhost/rte_vhost_user.h:63:
+^IVHOST_USER_MAX^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#286: FILE: lib/librte_vhost/rte_vhost_user.h:64:
+} VhostUserRequest;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#287: FILE: lib/librte_vhost/rte_vhost_user.h:65:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#288: FILE: lib/librte_vhost/rte_vhost_user.h:66:
+typedef enum VhostUserSlaveRequest {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#289: FILE: lib/librte_vhost/rte_vhost_user.h:67:
+^IVHOST_USER_SLAVE_NONE = 0,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#290: FILE: lib/librte_vhost/rte_vhost_user.h:68:
+^IVHOST_USER_SLAVE_IOTLB_MSG = 1,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#291: FILE: lib/librte_vhost/rte_vhost_user.h:69:
+^IVHOST_USER_SLAVE_MAX^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#292: FILE: lib/librte_vhost/rte_vhost_user.h:70:
+} VhostUserSlaveRequest;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#293: FILE: lib/librte_vhost/rte_vhost_user.h:71:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#294: FILE: lib/librte_vhost/rte_vhost_user.h:72:
+typedef struct VhostUserMemoryRegion {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#295: FILE: lib/librte_vhost/rte_vhost_user.h:73:
+^Iuint64_t guest_phys_addr;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#296: FILE: lib/librte_vhost/rte_vhost_user.h:74:
+^Iuint64_t memory_size;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#297: FILE: lib/librte_vhost/rte_vhost_user.h:75:
+^Iuint64_t userspace_addr;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#298: FILE: lib/librte_vhost/rte_vhost_user.h:76:
+^Iuint64_t mmap_offset;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#299: FILE: lib/librte_vhost/rte_vhost_user.h:77:
+} VhostUserMemoryRegion;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#300: FILE: lib/librte_vhost/rte_vhost_user.h:78:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#301: FILE: lib/librte_vhost/rte_vhost_user.h:79:
+typedef struct VhostUserMemory {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#302: FILE: lib/librte_vhost/rte_vhost_user.h:80:
+^Iuint32_t nregions;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#303: FILE: lib/librte_vhost/rte_vhost_user.h:81:
+^Iuint32_t padding;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#304: FILE: lib/librte_vhost/rte_vhost_user.h:82:
+^IVhostUserMemoryRegion regions[VHOST_MEMORY_MAX_NREGIONS];^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#305: FILE: lib/librte_vhost/rte_vhost_user.h:83:
+} VhostUserMemory;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#306: FILE: lib/librte_vhost/rte_vhost_user.h:84:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#307: FILE: lib/librte_vhost/rte_vhost_user.h:85:
+typedef struct VhostUserLog {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#308: FILE: lib/librte_vhost/rte_vhost_user.h:86:
+^Iuint64_t mmap_size;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#309: FILE: lib/librte_vhost/rte_vhost_user.h:87:
+^Iuint64_t mmap_offset;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#310: FILE: lib/librte_vhost/rte_vhost_user.h:88:
+} VhostUserLog;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#311: FILE: lib/librte_vhost/rte_vhost_user.h:89:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#312: FILE: lib/librte_vhost/rte_vhost_user.h:90:
+typedef struct VhostUserMsg {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#313: FILE: lib/librte_vhost/rte_vhost_user.h:91:
+^Iunion {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#314: FILE: lib/librte_vhost/rte_vhost_user.h:92:
+^I^IVhostUserRequest master;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#315: FILE: lib/librte_vhost/rte_vhost_user.h:93:
+^I^IVhostUserSlaveRequest slave;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#316: FILE: lib/librte_vhost/rte_vhost_user.h:94:
+^I} request;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#317: FILE: lib/librte_vhost/rte_vhost_user.h:95:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#318: FILE: lib/librte_vhost/rte_vhost_user.h:96:
+#define VHOST_USER_VERSION_MASK 0x3^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#319: FILE: lib/librte_vhost/rte_vhost_user.h:97:
+#define VHOST_USER_REPLY_MASK (0x1 << 2)^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#320: FILE: lib/librte_vhost/rte_vhost_user.h:98:
+#define VHOST_USER_NEED_REPLY^I^I(0x1 << 3)^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#321: FILE: lib/librte_vhost/rte_vhost_user.h:99:
+^Iuint32_t flags;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#322: FILE: lib/librte_vhost/rte_vhost_user.h:100:
+^Iuint32_t size; /* the following payload size */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#323: FILE: lib/librte_vhost/rte_vhost_user.h:101:
+^Iunion {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#324: FILE: lib/librte_vhost/rte_vhost_user.h:102:
+#define VHOST_USER_VRING_IDX_MASK 0xff^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#325: FILE: lib/librte_vhost/rte_vhost_user.h:103:
+#define VHOST_USER_VRING_NOFD_MASK (0x1<<8)^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#326: FILE: lib/librte_vhost/rte_vhost_user.h:104:
+^I^Iuint64_t u64;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#327: FILE: lib/librte_vhost/rte_vhost_user.h:105:
+^I^Istruct vhost_vring_state state;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#328: FILE: lib/librte_vhost/rte_vhost_user.h:106:
+^I^Istruct vhost_vring_addr addr;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#329: FILE: lib/librte_vhost/rte_vhost_user.h:107:
+^I^IVhostUserMemory memory;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#330: FILE: lib/librte_vhost/rte_vhost_user.h:108:
+^I^IVhostUserLog log;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#331: FILE: lib/librte_vhost/rte_vhost_user.h:109:
+^I^Istruct vhost_iotlb_msg iotlb;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#332: FILE: lib/librte_vhost/rte_vhost_user.h:110:
+^I} payload;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#333: FILE: lib/librte_vhost/rte_vhost_user.h:111:
+^Iint fds[VHOST_MEMORY_MAX_NREGIONS];^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#334: FILE: lib/librte_vhost/rte_vhost_user.h:112:
+} __attribute((packed)) VhostUserMsg;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#335: FILE: lib/librte_vhost/rte_vhost_user.h:113:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#336: FILE: lib/librte_vhost/rte_vhost_user.h:114:
+#define VHOST_USER_HDR_SIZE offsetof(VhostUserMsg, payload.u64)^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#337: FILE: lib/librte_vhost/rte_vhost_user.h:115:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#338: FILE: lib/librte_vhost/rte_vhost_user.h:116:
+#ifdef __cplusplus^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#339: FILE: lib/librte_vhost/rte_vhost_user.h:117:
+}^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#340: FILE: lib/librte_vhost/rte_vhost_user.h:118:
+#endif^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#341: FILE: lib/librte_vhost/rte_vhost_user.h:119:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#342: FILE: lib/librte_vhost/rte_vhost_user.h:120:
+#endif /* _VHOST_RTE_VHOST_USER_H_ */^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#376: FILE: lib/librte_vhost/vhost_user.c:1304:
+^Iint user_handler_result;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#384: FILE: lib/librte_vhost/vhost_user.c:1351:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#385: FILE: lib/librte_vhost/vhost_user.c:1352:
+^Iif (dev->notify_ops->user_message_handler) {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#386: FILE: lib/librte_vhost/vhost_user.c:1353:
+^I^Iuser_handler_result = dev->notify_ops->user_message_handler(^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#387: FILE: lib/librte_vhost/vhost_user.c:1354:
+^I^I^I^Idev->vid, &msg, RTE_VHOST_USER_MSG_START);^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#388: FILE: lib/librte_vhost/vhost_user.c:1355:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#389: FILE: lib/librte_vhost/vhost_user.c:1356:
+^I^Iswitch (user_handler_result) {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#390: FILE: lib/librte_vhost/vhost_user.c:1357:
+^I^Icase RTE_VHOST_USER_MSG_RESULT_FAILED:^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#391: FILE: lib/librte_vhost/vhost_user.c:1358:
+^I^I^IRTE_LOG(ERR, VHOST_CONFIG,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#392: FILE: lib/librte_vhost/vhost_user.c:1359:
+^I^I^I^I"User message handler failed
");^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#393: FILE: lib/librte_vhost/vhost_user.c:1360:
+^I^I^Ireturn -1;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#394: FILE: lib/librte_vhost/vhost_user.c:1361:
+^I^Icase RTE_VHOST_USER_MSG_RESULT_HANDLED:^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#395: FILE: lib/librte_vhost/vhost_user.c:1362:
+^I^I^IRTE_LOG(DEBUG, VHOST_CONFIG,^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#396: FILE: lib/librte_vhost/vhost_user.c:1363:
+^I^I^I^I"User message handled by backend
");^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#397: FILE: lib/librte_vhost/vhost_user.c:1364:
+^I^I^Igoto msg_handled;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#398: FILE: lib/librte_vhost/vhost_user.c:1365:
+^I^Icase RTE_VHOST_USER_MSG_RESULT_OK:^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#399: FILE: lib/librte_vhost/vhost_user.c:1366:
+^I^I^Ibreak;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#400: FILE: lib/librte_vhost/vhost_user.c:1367:
+^I^I}^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#401: FILE: lib/librte_vhost/vhost_user.c:1368:
+^I}^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#402: FILE: lib/librte_vhost/vhost_user.c:1369:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#403: FILE: lib/librte_vhost/vhost_user.c:1370:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#411: FILE: lib/librte_vhost/vhost_user.c:1509:
+msg_handled:^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#412: FILE: lib/librte_vhost/vhost_user.c:1510:
+^Iif (dev->notify_ops->user_message_handler) {^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#413: FILE: lib/librte_vhost/vhost_user.c:1511:
+^I^Iuser_handler_result = dev->notify_ops->user_message_handler(^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#414: FILE: lib/librte_vhost/vhost_user.c:1512:
+^I^I^I^Idev->vid, &msg, RTE_VHOST_USER_MSG_END);^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#415: FILE: lib/librte_vhost/vhost_user.c:1513:
+^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#416: FILE: lib/librte_vhost/vhost_user.c:1514:
+^I^Iif (user_handler_result == RTE_VHOST_USER_MSG_RESULT_FAILED)^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#417: FILE: lib/librte_vhost/vhost_user.c:1515:
+^I^I^Ireturn -1;^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#418: FILE: lib/librte_vhost/vhost_user.c:1516:
+^I}^M$
ERROR:DOS_LINE_ENDINGS: DOS line endings
#419: FILE: lib/librte_vhost/vhost_user.c:1517:
+^M$
ERROR:MISSING_SIGN_OFF: Missing Signed-off-by: line(s)
total: 211 errors, 1 warnings, 378 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-03-29 12:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <F6F2A6264E145F47A18AB6DF8E87425D7011903B@IRSMSX102.ger.corp.intel.com>
2018-03-29 12:58 ` [dpdk-test-report] |WARNING| pw36655 [PATCH] vhost: fix segfault as handle set_mem_table message checkpatch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).