Re: [PATCH 0/5] ISDN-Gigaset: Fine-tuning for three function implementations

From: Paul Bolle
Date: Mon Sep 26 2016 - 16:38:47 EST


On Mon, 2016-09-26 at 17:37 +0200, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Mon, 26 Sep 2016 17:27:17 +0200
>
> Some update suggestions were taken into account
> from static source code analysis.
>
> Markus Elfring (5):
> Â Use kmalloc_array() in two functions
> Â Improve another size determination in gigaset_initcs()
> Â Delete an error message for a failed memory allocation
> Â Release memory in gigaset_initcs() after an allocation failure

Which "static source code analysis" was used for that discovery?

> Â Enclose two expressions for the sizeof operator by parentheses
>
> Âdrivers/isdn/gigaset/common.c | 31 ++++++++++++++++---------------
> Â1 file changed, 16 insertions(+), 15 deletions(-)


Paul Bolle