mirror of
https://github.com/linux-msm/qmic.git
synced 2024-11-27 11:54:08 +08:00
72d1687658
Check each constant as it is recognized to ensure its name does not duplicate an already-defined constant. Check each message member as it is recognized to ensure its name does not duplicate an already-defined member. Also check its id value to ensure the same value isn't used more than once. Check each struct member as it is recognized to ensure its name does not duplicate an already-defined member. Signed-off-by: Alex Elder <elder@linaro.org> Message-Id: <20211001232338.769309-27-elder@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
22 lines
329 B
Plaintext
22 lines
329 B
Plaintext
package test;
|
|
|
|
const TEST_REQUEST_RESPONSE = 35;
|
|
const TEST_REQUEST_RESPONSE = 35;
|
|
|
|
struct qmi_result {
|
|
u16 result;
|
|
u16 error;
|
|
};
|
|
|
|
request test_request {
|
|
required u8 test_number = 0x12;
|
|
} = 0x23;
|
|
|
|
response test_response {
|
|
required qmi_result r = 2;
|
|
} = 043;
|
|
|
|
indication test_indication {
|
|
optional u64 value = 0x99;
|
|
} = 0x7;
|