Fix warnings from static analysis tools(se_hal) am: 93b6583070

Change-Id: Idd9d3339fe5720af5bcd68d0a3da860b70751a37