From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932865AbcIEVlQ (ORCPT ); Mon, 5 Sep 2016 17:41:16 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36803 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932217AbcIEVlN (ORCPT ); Mon, 5 Sep 2016 17:41:13 -0400 MIME-Version: 1.0 In-Reply-To: <897ebf36-2fe5-e109-adf6-b81b6e863d9a@users.sourceforge.net> References: <566ABCD9.1060404@users.sourceforge.net> <897ebf36-2fe5-e109-adf6-b81b6e863d9a@users.sourceforge.net> From: "Rafael J. Wysocki" Date: Mon, 5 Sep 2016 23:41:10 +0200 X-Google-Sender-Auth: 02Zi8eD1qKrQZmkvz787w58EUJw Message-ID: Subject: Re: [PATCH 00/21] ACPI-video: Fine-tuning for several function implementations To: SF Markus Elfring Cc: ACPI Devel Maling List , Hans de Goede , Len Brown , "Rafael J. Wysocki" , Zhang Rui , LKML , kernel-janitors@vger.kernel.org, Julia Lawall , Paolo Bonzini Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 5, 2016 at 6:42 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 5 Sep 2016 18:22:11 +0200 > > Several update suggestions were taken into account > from static source code analysis. > > Markus Elfring (21): > Use kmalloc_array() in acpi_video_get_levels() > Return directly after a failed device query > Delete an error message for a failed kzalloc() call > Rename jump labels in acpi_video_get_levels() > Delete an unnecessary initialisation in acpi_video_get_levels() > Move four assignments in acpi_video_get_levels() > Rename jump labels in acpi_video_bus_add() > Improve a size determination in acpi_video_bus_add() > Rename jump labels in acpi_video_register() > Return directly after a failed input_allocate_device() > Rename jump labels in acpi_video_bus_add_notify_handler() > Delete unnecessary if statement in acpi_video_switch_brightness() > Improve a jump target in acpi_video_switch_brightness() > Improve a size determination in acpi_video_device_enumerate() > Delete an unnecessary initialisation in acpi_video_device_enumerate() > Rename jump labels in acpi_video_device_enumerate() > Delete an unnecessary initialisation in acpi_video_init_brightness() > Rename jump labels in acpi_video_init_brightness() > Rename a jump label in acpi_video_device_lcd_query_levels() > Improve a size determination in acpi_video_dev_register_backlight() > Improve a size determination in acpi_video_bus_get_one_device() I'd prefer this to be combined into fewer patches that each will address several issues of one type, ie. put all label renames into one patch, all size determination improvements into another one and so on. Thanks, Rafael