Re: [PATCH v2] PM / OPP: Use snprintf to avoid kasprintf and kfree

2017-09-22 Thread Stephen Boyd
On 09/21, Arvind Yadav wrote: > Use snprintf to avoid unnecessary initializations, avoid calling kfree. > > Signed-off-by: Arvind Yadav > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a

Re: [PATCH v2] PM / OPP: Use snprintf to avoid kasprintf and kfree

2017-09-22 Thread Stephen Boyd
On 09/21, Arvind Yadav wrote: > Use snprintf to avoid unnecessary initializations, avoid calling kfree. > > Signed-off-by: Arvind Yadav > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Re: [PATCH v2] PM / OPP: Use snprintf to avoid kasprintf and kfree

2017-09-21 Thread Viresh Kumar
On 21-09-17, 11:15, Arvind Yadav wrote: > Use snprintf to avoid unnecessary initializations, avoid calling kfree. > Suggested-by: Joe Perches > Signed-off-by: Arvind Yadav > --- > changes in v2: > Remove kasprintf instead of error

Re: [PATCH v2] PM / OPP: Use snprintf to avoid kasprintf and kfree

2017-09-21 Thread Viresh Kumar
On 21-09-17, 11:15, Arvind Yadav wrote: > Use snprintf to avoid unnecessary initializations, avoid calling kfree. > Suggested-by: Joe Perches > Signed-off-by: Arvind Yadav > --- > changes in v2: > Remove kasprintf instead of error checking. > > drivers/base/power/opp/debugfs.c

[PATCH v2] PM / OPP: Use snprintf to avoid kasprintf and kfree

2017-09-20 Thread Arvind Yadav
Use snprintf to avoid unnecessary initializations, avoid calling kfree. Signed-off-by: Arvind Yadav --- changes in v2: Remove kasprintf instead of error checking. drivers/base/power/opp/debugfs.c | 7 +++ 1 file changed, 3 insertions(+), 4

[PATCH v2] PM / OPP: Use snprintf to avoid kasprintf and kfree

2017-09-20 Thread Arvind Yadav
Use snprintf to avoid unnecessary initializations, avoid calling kfree. Signed-off-by: Arvind Yadav --- changes in v2: Remove kasprintf instead of error checking. drivers/base/power/opp/debugfs.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git