Browse Source

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
Ankit Gupta 8 years ago
parent
commit
38e9275e5a
2 changed files with 2 additions and 2 deletions
  1. 1 1
      qdf/inc/qdf_mem.h
  2. 1 1
      qdf/linux/src/i_qdf_mem.h

+ 1 - 1
qdf/inc/qdf_mem.h

@@ -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

+ 1 - 1
qdf/linux/src/i_qdf_mem.h

@@ -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