+ input-route-kbd-leds-through-the-generic-leds-layer-fix.patch added to -mm tree
Subject: + input-route-kbd-leds-through-the-generic-leds-layer-fix.patch added to -mm tree
To: [email protected]
From: [email protected]
Date: Mon, 31 Mar 2014 12:11:06 -0700
The patch titled
Subject: input-route-kbd-leds-through-the-generic-leds-layer-fix
has been added to the -mm tree. Its filename is
input-route-kbd-leds-through-the-generic-leds-layer-fix.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/input-route-kbd-leds-through-the-generic-leds-layer-fix.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/input-route-kbd-leds-through-the-generic-leds-layer-fix.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Samuel Thibault <[email protected]>
Subject: input-route-kbd-leds-through-the-generic-leds-layer-fix
---
drivers/input/leds.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/input/leds.c renamed from drivers/input/leds.c~input-route-kbd-leds-through-the-generic-leds-layer-fix +4 -4
@@ -1,7 +1,7 @@/* * LED support for the input layer * -* Copyright 2010-2013 Samuel Thibault <[email protected]> +* Copyright 2010-2014 Samuel Thibault <[email protected]> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as
@@ -159,7 +159,7 @@ int input_led_connect(struct input_dev *int i, error =0 ;struct led_classdev *leds; - dev->leds = leds =kzalloc (sizeof (*leds) *LED_CNT ,GFP_KERNEL ); + dev->leds = leds =kcalloc (LED_CNT ,sizeof (*leds),GFP_KERNEL );if (!dev->leds)return -ENOMEM ;
@@ -212,8 +212,8 @@ err: }/* -* Disconnected input device. Clean it, and deregister now-useless VT LEDs and -* triggers. +* Disconnected input device. Clean it, and deregister now-useless VT LEDs +* and triggers. */ void input_led_disconnect (struct input_dev *dev) {
_
Patches currently in -mm which might be from [email protected] are
input-route-kbd-leds-through-the-generic-leds-layer.patch input-route-kbd-leds-through-the-generic-leds-layer-fix.patch