mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 23:57:10 +00:00
HV:fix "Pointer param should be declared pointer to const"
Fix violations for function whose parameter can be read-only. Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -247,7 +247,7 @@ void asm_assert(int32_t line, const char *file, const char *txt)
|
||||
} while (1);
|
||||
}
|
||||
|
||||
void dump_intr_excp_frame(struct intr_excp_ctx *ctx)
|
||||
void dump_intr_excp_frame(const struct intr_excp_ctx *ctx)
|
||||
{
|
||||
const char *name = "Not defined";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user