From: Geliang Tang
Date: Mon, 12 Oct 2015 01:19:07 -0700
> Use kstrdup instead of strlen-kmalloc-strcpy. Remove unneeded NULL
> test, it will be tested inside kstrdup. Remove 0 length string test,
> it has been tested in the caller of dsp_pipeline_build.
>
> Signed-off-by: Geliang Tang
> ---
>
From: Geliang Tang
Date: Mon, 12 Oct 2015 01:19:07 -0700
> Use kstrdup instead of strlen-kmalloc-strcpy. Remove unneeded NULL
> test, it will be tested inside kstrdup. Remove 0 length string test,
> it has been tested in the caller of dsp_pipeline_build.
>
> Signed-off-by:
Use kstrdup instead of strlen-kmalloc-strcpy. Remove unneeded NULL
test, it will be tested inside kstrdup. Remove 0 length string test,
it has been tested in the caller of dsp_pipeline_build.
Signed-off-by: Geliang Tang
---
Changes in v2:
- Remove unneeded NULL test.
---
Use kstrdup instead of strlen-kmalloc-strcpy. Remove unneeded NULL
test, it will be tested inside kstrdup. Remove 0 length string test,
it has been tested in the caller of dsp_pipeline_build.
Signed-off-by: Geliang Tang
---
Changes in v2:
- Remove unneeded NULL test.
---
4 matches
Mail list logo