bsps/arm/irq: Avoid array comparison

This removes the array comparison warning by explicitly taking the
address of the arrays.
This commit is contained in:
Kinsey Moore
2024-09-04 13:00:11 -05:00
committed by Amar Takhar
parent 5b13baf96a
commit 243f88992f

View File

@@ -131,7 +131,7 @@ void bsp_interrupt_facility_initialize(void)
vector_table = (ARMV7M_Exception_handler *) bsp_vector_table_begin; vector_table = (ARMV7M_Exception_handler *) bsp_vector_table_begin;
if (bsp_vector_table_begin != bsp_start_vector_table_begin) { if (&bsp_vector_table_begin[0] != &bsp_start_vector_table_begin[0]) {
memcpy( memcpy(
vector_table, vector_table,
bsp_start_vector_table_begin, bsp_start_vector_table_begin,