From 38e9275e5a11b531f746cdfe81c612130dd90a01 Mon Sep 17 00:00:00 2001 From: Ankit Gupta Date: Wed, 14 Sep 2016 16:55:31 -0700 Subject: [PATCH] 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 --- qdf/inc/qdf_mem.h | 2 +- qdf/linux/src/i_qdf_mem.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qdf/inc/qdf_mem.h b/qdf/inc/qdf_mem.h index 8ac3308751..35b7b66bfe 100644 --- a/qdf/inc/qdf_mem.h +++ b/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 diff --git a/qdf/linux/src/i_qdf_mem.h b/qdf/linux/src/i_qdf_mem.h index 2e8a2505f4..ebc2868bf2 100644 --- a/qdf/linux/src/i_qdf_mem.h +++ b/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