[Sound-open-firmware] [PATCH] Use "const char*" instead of "char*" in rstrlen().

Liam Girdwood liam.r.girdwood at linux.intel.com
Thu Oct 12 23:36:16 CEST 2017


On Thu, 2017-10-12 at 16:34 +0800, yan.wang at linux.intel.com wrote:
> From: Yan Wang <yan.wang at linux.intel.com>
> 
> It is unnecessary to use "char*" for calculating string length.
> 
> Signed-off-by: Yan Wang <yan.wang at linux.intel.com>
> ---
>  src/include/reef/alloc.h | 2 +-
>  src/lib/lib.c            | 4 ++--
>  2 files changed, 3 insertions(+), 3 deletions(-)
> 

Applied.



More information about the Sound-open-firmware mailing list