Revert "chore(no-merge): test ci static checks"
This reverts commit 507154cf4adda260ff8b15b61791d3bf6e000a58.
Reason for revert: Accidental merge while testing gerrit permission
Change-Id: I3fc5870893ca19fca73fc73a9371e4cb2e020c6a
Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
diff --git a/src/transfer_list.c b/src/transfer_list.c
index b6ecbd9..8b7d0d0 100644
--- a/src/transfer_list.c
+++ b/src/transfer_list.c
@@ -12,7 +12,8 @@
#include <math_utils.h>
#include <transfer_list.h>
-void transfer_list_dump(struct transfer_list_header *tl) {
+void transfer_list_dump(struct transfer_list_header *tl)
+{
struct transfer_list_entry *te = NULL;
int i = 0;
@@ -371,10 +372,11 @@
uint32_t data_size,
const void *data)
{
- uintptr_t tl_ev;
+ uintptr_t max_tl_ev, tl_ev, ev;
struct transfer_list_entry *te = NULL;
uint8_t *te_data = NULL;
uintptr_t te_end;
+ size_t sz = 0;
if (!tl || (tag_id & (1 << 24))) {
return NULL;