lkml.org 
[lkml]   [2016]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] staging: vchiq_arm: Fine-tuning for some function implementations
Date
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Sat, 31 Dec 2016 22:42:34 +0100

Some update suggestions were taken into account
from static source code analysis.

Markus Elfring (6):
Use kmalloc_array() in dump_phys_mem()
Adjust 13 checks for null pointers
One check less in dump_phys_mem() after error detection
Delete an error message for a failed memory allocation in dump_phys_mem()
Combine substrings for 24 messages
Delete an unnecessary return statement in two functions

.../vc04_services/interface/vchiq_arm/vchiq_arm.c | 212 +++++++++++----------
1 file changed, 109 insertions(+), 103 deletions(-)

--
2.11.0

\
 
 \ /
  Last update: 2016-12-31 22:56    [W:0.057 / U:1.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site