|
From: | Richard Henderson |
Subject: | Re: [PATCH] target/riscv: Smepmp: Return error when access permission not allowed in PMP |
Date: | Mon, 5 Jun 2023 08:12:45 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 |
On 6/5/23 00:51, Himanshu Chauhan wrote:
+ ret = ((privs & *allowed_privs) == privs ? true : false);
Never convert bool to bool in this way. r~
[Prev in Thread] | Current Thread | [Next in Thread] |