lkml.org 
[lkml]   [2017]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject[PATCH v2 0/9] ACPI-video: Fine-tuning for several function implementations
From
Date
From 2a7010a6555091b685ed51d91fea23ff9058047c Mon Sep 17 00:00:00 2001
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Wed, 9 Aug 2017 17:16:15 +0200
Subject: [PATCH v2 0/9] ACPI-video: Fine-tuning for several function implementations

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

Markus Elfring (9):
Use kmalloc_array() in acpi_video_get_levels()
Return directly after a failed device query
Delete an error message for a failed kzalloc() call
Return directly after a failed input_allocate_device()
Delete unnecessary if statement in acpi_video_switch_brightness()
Improve a jump target in acpi_video_switch_brightness()
Delete an unnecessary initialisation in three functions
Move four assignments in acpi_video_get_levels()
Improve a size determination in four functions

---

v2:
* Desired changes were rebased on source files from Linux next-20170803.

* Some update steps were recombined.

drivers/acpi/acpi_video.c | 53 ++++++++++++++++++++++-------------------------
1 file changed, 25 insertions(+), 28 deletions(-)

--
2.13.4

\
 
 \ /
  Last update: 2017-08-09 17:30    [W:0.876 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site