Re: [PATCH v2] mISDN: use kstrdup() in dsp_pipeline_build

2015-10-13 Thread David Miller
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 > --- >

Re: [PATCH v2] mISDN: use kstrdup() in dsp_pipeline_build

2015-10-13 Thread David Miller
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:

[PATCH v2] mISDN: use kstrdup() in dsp_pipeline_build

2015-10-12 Thread Geliang Tang
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. ---

[PATCH v2] mISDN: use kstrdup() in dsp_pipeline_build

2015-10-12 Thread Geliang Tang
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. ---