a829c77...
by
Andrei Stefanescu <email address hidden>
net: pfeng: handle memory leak
De-allocate `chnl` in case we encounter an error. Also, add deinit
function for a ring which will be used when errors are encountered while
initializing a channel.
Issue: ALB-9226
Signed-off-by: Andrei Stefanescu <email address hidden>
69fa4e9...
by
Andrei Stefanescu <email address hidden>
net: pfeng: handle memory leaks
The `pfeng_hw_init_ring` allocates various resources which were not
de-allocated in case of error.
Issue: ALB-9227
Signed-off-by: Andrei Stefanescu <email address hidden>
1c09d74...
by
Andrei Stefanescu <email address hidden>
net: pfeng: initialize ret variable
Coverity complained about the use of an un-initialized `ret` variable.
The variable's value is only set inside a for. Moreover, the variable's
type should be `int` because it should be able to store negative error
codes.
Initialize it with 0 when it's declared.
Issue: ALB-9225
Signed-off-by: Andrei Stefanescu <email address hidden>
Refactor RAM Key Catalog to fit Key Groups for both Linux and OP-tee
dirvers. First two groups are accessed by the Linux Driver and
the last two by the OP-TEE Driver.
Issue: ALB-9074
Signed-off-by: Bogdan Roman <email address hidden>
ae9ac0a...
by
Ghennadi Procopciuc <email address hidden>