From: SF Markus Elfring <hidden> Date: 2018-02-10 21:05:49
From: Markus Elfring <redacted>
Date: Sat, 10 Feb 2018 21:56:54 +0100
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Delete an error message for a failed memory allocation
Improve a size determination
drivers/gpio/gpio-omap.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
--
2.16.1
From: SF Markus Elfring <hidden> Date: 2018-02-10 21:07:27
From: Markus Elfring <redacted>
Date: Sat, 10 Feb 2018 21:46:30 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <redacted>
---
drivers/gpio/gpio-omap.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
From: SF Markus Elfring <hidden> Date: 2018-02-10 21:08:38
From: Markus Elfring <redacted>
Date: Sat, 10 Feb 2018 21:49:22 +0100
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <redacted>
---
drivers/gpio/gpio-omap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From: Markus Elfring <redacted>
Date: Sat, 10 Feb 2018 21:56:54 +0100
Two update suggestions were taken into account
from static source code analysis.
Markus Elfring (2):
Delete an error message for a failed memory allocation
Improve a size determination
drivers/gpio/gpio-omap.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
For series:
Acked-by: Grygorii Strashko <grygorii.strashko@ti.com>
--
regards,
-grygorii
On Sat, Feb 10, 2018 at 10:07 PM, SF Markus Elfring
[off-list ref] wrote:
From: Markus Elfring <redacted>
Date: Sat, 10 Feb 2018 21:46:30 +0100
Omit an extra message for a memory allocation failure in this function.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <redacted>
On Sat, Feb 10, 2018 at 10:08 PM, SF Markus Elfring
[off-list ref] wrote:
From: Markus Elfring <redacted>
Date: Sat, 10 Feb 2018 21:49:22 +0100
Replace the specification of a data structure by a pointer dereference
as the parameter for the operator "sizeof" to make the corresponding size
determination a bit safer according to the Linux coding style convention.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <redacted>