Skip to content
Commit cccfc526 authored by Francesco Rosati's avatar Francesco Rosati Committed by Mohamed Omar Asaker
Browse files

mod/ccsm: Fix bitwise vs logical OR issue and internal assert



A bitwise OR operator has been used instead of the logical one
inside an if statement in ccsm_mod_set_configuration().

Also an assert meant to check for pointers passed as parameters
to be non NULL failed to properly do that, allowing for a
potential NULL pointer dereference later on in
get_register_value_rate().

Signed-off-by: Francesco Rosati's avatarFrancesco Rosati <francesco.rosati@arm.com>
parent 3165f99b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment