Minor C code fixes in kernel/arm

This commit is contained in:
Ralph Campbell
2015-11-06 20:04:56 +05:30
committed by Ashwin Sekhar T K
parent 55e4332f00
commit c053559ed9
17 changed files with 64 additions and 53 deletions

View File

@@ -45,9 +45,11 @@ BLASLONG CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
FLOAT minf=0.0;
BLASLONG min=0;
if (n < 0 || inc_x < 1 ) return(min);
if (n <= 0 || inc_x <= 0) return(min);
minf=x[0];
ix += inc_x;
i++;
while(i < n)
{