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
This commit is contained in:
@@ -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
|
||||
|
@@ -198,7 +198,7 @@ static inline int32_t __qdf_str_len(const char *str)
|
||||
* 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
|
||||
|
Reference in New Issue
Block a user