1
0

qcacmn: Correct the comment for qdf_mem_cmp

Comment in the api specifies that qdf_mem_cmp api
return bool value which is not correct.

Replace bool to int to reflect the correct return
type of a qdf_mem_cmp api.

Change-Id: Iff83fbf588a072dcda8b0aaef3c6743e572b1ac5
CRs-Fixed: 1066946
Este cometimento está contido em:
Ankit Gupta
2016-09-14 16:55:31 -07:00
cometido por qcabuildsw
ascendente fbc62b07e5
cometimento 38e9275e5a
2 ficheiros modificados com 2 adições e 2 eliminações

Ver ficheiro

@@ -142,7 +142,7 @@ void qdf_mem_zero_outline(void *buf, qdf_size_t size);
* Function to compare two pieces of memory, similar to memcmp function
* in standard C.
* Return:
* int32_t - returns a bool value that tells if the memory
* int32_t - returns an int value that tells if the memory
* locations are equal or not equal.
* 0 -- equal
* < 0 -- *memory1 is less than *memory2