USB: u_qdss: Fix bug in memory allocation for sps memory buffer
USB: u_qdss: Fix bug in memory allocation for sps memory buffer

Currently qdss driver is allocating size of pointer i.e 4 bytes
for sps memory buffer instead of size of sps_mem_buf structure. This
results in accessing memory not allocated for this structure, when its
members are accessed and modified. It could result in memory corruption.
Hence allocated required memory size for sps_mem_buf structure to avoid
this issue.

Also change the data type of variable from unsigned to int as checking
unsigned variable less than zero is wrong.

CRs-Fixed: 550211
Change-Id: I2649876deb7c8375dd6a04bda192c1272998e86c
Signed-off-by: Vijayavardhan Vennapusa <76e30dc6511df6537bc8f74ebde59f1a6034d162@codeaurora.org>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas