diff options
author | Chris Kay <chris.kay@arm.com> | 2020-06-08 18:05:57 +0100 |
---|---|---|
committer | jimqui01 <54316584+jimqui01@users.noreply.github.com> | 2020-06-09 19:26:33 +0100 |
commit | 7b01ad8451e9a6088584d70d799feb64e818e17e (patch) | |
tree | b96559de36bb6f5cdaea40db06e0e1517cee01e8 /product/rddanielxlr/module | |
parent | 6094316869ea7549559acb738a73dc284313379c (diff) |
misc: Replace `assert()` calls with `fwk_assert()`
This commit replaces any call to `assert()` outside of the framework
with a call to `fwk_assert()`.
Change-Id: I83325af5892ac6b8b6b66a6586345d0988ca725e
Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'product/rddanielxlr/module')
-rw-r--r-- | product/rddanielxlr/module/rddanielxlr_system/src/mod_rddanielxlr_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/product/rddanielxlr/module/rddanielxlr_system/src/mod_rddanielxlr_system.c b/product/rddanielxlr/module/rddanielxlr_system/src/mod_rddanielxlr_system.c index 1a234ca1..16230764 100644 --- a/product/rddanielxlr/module/rddanielxlr_system/src/mod_rddanielxlr_system.c +++ b/product/rddanielxlr/module/rddanielxlr_system/src/mod_rddanielxlr_system.c @@ -322,7 +322,7 @@ int rddanielxlr_system_process_notification(const struct fwk_event *event, if (status == FWK_SUCCESS) chip_id = system_info->chip_id; - assert(fwk_id_is_type(event->target_id, FWK_ID_TYPE_MODULE)); + fwk_assert(fwk_id_is_type(event->target_id, FWK_ID_TYPE_MODULE)); if (fwk_id_is_equal(event->id, mod_clock_notification_id_state_changed)) { params = (struct clock_notification_params *)event->params; |