intel: XMM7360: move Xmm7360RpcMsgArgType UNKNOWN value first in enum
That way UNKNOWN is the zero'd value instead of BYTE; it's easier to test for and less error-prone if not explicitly set to the right value. Signed-off-by: Dan Williams <dan@ioncontrol.co>
This commit is contained in:
@@ -484,11 +484,11 @@ typedef enum {
|
||||
} Xmm7360RpcUnsolId;
|
||||
|
||||
typedef enum {
|
||||
XMM7360_RPC_MSG_ARG_TYPE_UNKNOWN,
|
||||
XMM7360_RPC_MSG_ARG_TYPE_BYTE,
|
||||
XMM7360_RPC_MSG_ARG_TYPE_SHORT,
|
||||
XMM7360_RPC_MSG_ARG_TYPE_LONG,
|
||||
XMM7360_RPC_MSG_ARG_TYPE_STRING,
|
||||
XMM7360_RPC_MSG_ARG_TYPE_UNKNOWN,
|
||||
} Xmm7360RpcMsgArgType;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user