Skip to content

Commit

Permalink
[ot] hw/opentitan: ot_dev_proxy.c: fix MEMTXATTRS_WITH_ROLE syntax
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Blot <[email protected]>
  • Loading branch information
rivos-eblot authored and loiclefort committed Dec 5, 2023
1 parent 7c7ea28 commit 2601481
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/opentitan/ot_dev_proxy.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ enum OtDevProxyErr {
#define MEMTXATTRS_WITH_ROLE(_r_) \
(MemTxAttrs) \
{ \
.role = _r_ \
.role = (_r_) \
}
#define MEMTXATTRS_GET_ROLE(_a_) ((_a_).unspecified ? 0xfu : (_a_).role);
#else
Expand Down

0 comments on commit 2601481

Please sign in to comment.