Commit 2ca93428 authored by Federico Vaga's avatar Federico Vaga

sw:lib: clarify operators priority

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent b51c4938
......@@ -813,7 +813,7 @@ int trtl_cpu_is_enable(struct trtl_dev *trtl, unsigned int index,
if (err)
return -1;
*enable = (tmp & (1 << index) ? 0 : 1);
*enable = ((tmp & (1 << index)) ? 0 : 1);
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment