From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: [PATCH 00/17] s390/debug: Fine-tuning for several function implementations References: <566ABCD9.1060404@users.sourceforge.net> From: SF Markus Elfring Message-ID: Date: Sat, 3 Sep 2016 14:04:18 +0200 MIME-Version: 1.0 In-Reply-To: <566ABCD9.1060404@users.sourceforge.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-Archive: List-Post: To: linux-s390@vger.kernel.org, David Hildenbrand , Heiko Carstens , Joe Perches , Martin Schwidefsky Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall , Paolo Bonzini List-ID: From: Markus Elfring Date: Sat, 3 Sep 2016 13:54:32 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (17): Use kmalloc_array() in debug_areas_alloc() Delete unnecessary braces Add some spaces for better code readability Rename jump labels in debug_areas_alloc() Fix jump targets in debug_info_alloc() Rename jump labels in debug_info_copy() Rename jump labels in debug_open() Fix a jump target in debug_register_mode() Return directly if a null pointer was passed to debug_unregister() Delete an unnecessary initialisation in debug_prolog_level_fn() Fix indentation in 13 functions Use memdup_user() rather than duplicating its implementation Improve a size determination in debug_open() Improve a size determination in debug_sprintf_format_fn() Improve a size determination in debug_raw_header_fn() Improve determination of sizes in debug_info_alloc() Improve another size determination in debug_info_alloc() arch/s390/kernel/debug.c | 433 ++++++++++++++++++++++------------------------- 1 file changed, 204 insertions(+), 229 deletions(-) -- 2.9.3