rtems: Canonicalize name and id checks

Check the name followed by the id check in all create directives.

Compare pointers against NULL.  Fix formatting.
This commit is contained in:
Sebastian Huber
2020-09-30 16:22:04 +02:00
parent 2d8802b519
commit 71689a0775
6 changed files with 190 additions and 182 deletions

View File

@@ -943,149 +943,149 @@ static const uint8_t RtemsMessageReqConstructErrors_TransitionMap[][ 1 ] = {
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}, {
RtemsMessageReqConstructErrors_Post_Status_InvAddress
RtemsMessageReqConstructErrors_Post_Status_InvName
}
};