From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755024AbcIJJa1 (ORCPT ); Sat, 10 Sep 2016 05:30:27 -0400 Received: from mout.web.de ([212.227.15.4]:55362 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751962AbcIJJaY (ORCPT ); Sat, 10 Sep 2016 05:30:24 -0400 To: linux-acpi@vger.kernel.org, Len Brown , "Rafael J. Wysocki" Cc: LKML , kernel-janitors@vger.kernel.org, Julia Lawall , Paolo Bonzini From: SF Markus Elfring Subject: [PATCH 00/30] ACPI-processor: Fine-tuning for several function implementations Message-ID: Date: Sat, 10 Sep 2016 11:30:08 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:q/jr3VgXRTVzNiLG+1gW54e0+sKhZup9KCK2bgBujDhY3c2S8t6 ne/hlRZTaNsrrXnm7947suOnwbeAOVc/UNNahJpeGHFG/d2DlF2/QigFfyDlR/HB4WkkNXU cwsq+6xmMT05H4Fh6IlqBE0wi14dYbGinV8wS6D233FexpwOrKUAswk1z0YZcBpDuTzsoUh xugd+igm2WibpAoNDzu8w== X-UI-Out-Filterresults: notjunk:1;V01:K0:adTOJwbP2WU=:FffwScUSCMJF+GbHG/gUH0 LCdHS5PhFOhofr+uInICKzLS8G/ZBh3uN6IfYNYFOmmMB29hrkHiR0zHXS4f0kJ846C4ylmW4 09hgyzV+jSqz1L8itj/5goltQrmphTqKwyT0PexZAbm/MrnaHfuRPFdz7DeKaDPhsuKK9I0Ad DSn7VGbQiDc+Mjzo74BFqXm3ysb23RtgWoBAn01lrNiB5EQw2MQaXSHK0/o3GJTDwjlN1//oS YY4Co8vFb50rNbC6iuLUcua0oQzHqvZtd1ypNFZvj4NqWXl3QVqPvqas/U7eyIVHTxtJJfWpS 7ur8MPyZltlOE4ZmcjC3Cpp+qwXTNIJ8Lzq4epE9b/qbChJLOkAzefRJo7bngfbLbboh/H3KK XGXYR3k0Ck2Vvba+RyyABHDueCPj/Jp+rOhvi1G9euZxp0V4ybwENZkWRpJkoWcoVbzosMzu6 KusuHboZH68vx4N+WgIM5wsr4f/UMnSXeGkfHmYovS47QWM894dMC51F4NSOA4J0JeyDhBiqL sVVZ0v3VveiNedfOJ2kddT3lgYkDX8mIdJleZbQRA+m+0Ifgh4+e9HOBI5PdvSdM6yUL/F/sX 5xvpEJFqcseSbeP/YNherGnP5hfTz/l/9vdBaWRk6vKV+8x/MLh4pwQFM4oA7fJBPNBDb6c3I 4p7LrCRk+JT8CkKASxfP/KzyIfKf8NMN7EoQPYndGFbZHkDw1QagwFVvIpFjGFZOaxCcMfNfM HX2DsECDH4NhujLmo+998+VLc42ZJCfl4xtgU4DOw4IKEquNnZjy740/b67y5YsPx+JkgdPwT u7TYs3a Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Markus Elfring Date: Tue, 9 Sep 2016 20:15:05 +0200 Several update suggestions were taken into account from static source code analysis. Markus Elfring (30): Use kmalloc_array() in acpi_processor_get_performance_states() Improve two size determinations in acpi_processor_get_performance_states() Rename jump labels in acpi_processor_get_performance_states() Delete two unnecessary initialisations in acpi_processor_get_performance_states() Rename jump labels in acpi_processor_preregister_performance() Move a success indication in acpi_processor_preregister_performance() Rename jump labels in acpi_processor_get_psd() Delete two unnecessary initialisations in acpi_processor_get_psd() Improve a size determination in acpi_processor_get_psd() Rename jump labels in acpi_processor_get_performance_control() Delete two unnecessary initialisations in acpi_processor_get_performance_control() Rename jump labels in acpi_processor_ppc_notifier() Delete an unnecessary initialisation in acpi_processor_ppc_notifier() Delete an unnecessary initialisation in acpi_processor_get_performance_info() Delete an unnecessary initialisation in acpi_processor_get_platform_limit() Use kmalloc_array() in acpi_processor_get_throttling_states() Improve another size determination in acpi_processor_get_throttling_states() Rename jump labels in acpi_processor_get_throttling_states() Delete two unnecessary initialisations in acpi_processor_get_throttling_states() Fix jump targets in acpi_processor_get_throttling_info() Rename jump labels in acpi_processor_get_tsd() Delete two unnecessary initialisations in acpi_processor_get_tsd() Improve a size determination in acpi_processor_get_tsd() Rename jump labels in acpi_processor_get_throttling_control() Delete two unnecessary initialisations in acpi_processor_get_throttling_control() Fix jump targets in acpi_processor_reevaluate_tstate() Delete an unnecessary initialisation in acpi_processor_reevaluate_tstate() Rename a jump label in acpi_processor_get_platform_limit() Delete an unnecessary initialisation in acpi_processor_get_platform_limit() Improve jump targets in acpi_processor_update_tsd_coord() drivers/acpi/processor_perflib.c | 87 +++++++++++++-------------- drivers/acpi/processor_throttling.c | 116 ++++++++++++++++-------------------- 2 files changed, 93 insertions(+), 110 deletions(-) -- 2.10.0