From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx> Date: Thu, 10 Aug 2017 14:54:32 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (5): Delete error messages for a failed memory allocation in snd_soc_dapm_new_pcm() Improve a size determination in two functions Use kcalloc() in snd_soc_dapm_new_widgets() Adjust one function call together with a variable assignment Adjust seven checks for null pointers sound/soc/soc-dapm.c | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) -- 2.14.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel