diff options
author | Megan Wachs <megan@sifive.com> | 2018-04-18 16:15:07 -0700 |
---|---|---|
committer | Megan Wachs <megan@sifive.com> | 2018-04-18 16:15:07 -0700 |
commit | ac953c71c0bcf7a2fcc17080ae199ad91c677353 (patch) | |
tree | 2101117681c83f44af43d03e1972867f62474d10 | |
parent | 06fc61f464dfcf7e61f5efb93903803977a74536 (diff) | |
download | riscv-openocd-ac953c71c0bcf7a2fcc17080ae199ad91c677353.zip riscv-openocd-ac953c71c0bcf7a2fcc17080ae199ad91c677353.tar.gz riscv-openocd-ac953c71c0bcf7a2fcc17080ae199ad91c677353.tar.bz2 |
riscv-compliance: add dummy comments to appease the linter
-rw-r--r-- | src/target/riscv/riscv-013.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 1de3b92..92f290b 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -3210,8 +3210,10 @@ int riscv013_test_compliance(struct target *target) COMPLIANCE_TEST(ERROR_OK == register_read_direct(target, &testval_read, GDB_REGNO_ZERO + i), "GPR Reads should be supported."); if (riscv_xlen(target) > 32) { + /* Dummy comment to satisfy linter, since removing the brances here doesn't actually compile. */ COMPLIANCE_TEST(testval == testval_read, "GPR Reads and writes should be supported."); } else { + /* Dummy comment to satisfy linter, since removing the brances here doesn't actually compile. */ COMPLIANCE_TEST((testval & 0xFFFFFFFF) == testval_read, "GPR Reads and writes should be supported."); } } |