Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1251153

Re: [PATCH 4.2 022/258] toshiba_acpi: Fix hotkeys registration on some toshiba models

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.kernel
Subject Re: [PATCH 4.2 022/258] toshiba_acpi: Fix hotkeys registration on some toshiba models
Date 2015-10-20 01:40 +0200
Message-ID <qlsc2-2Le-3@gated-at.bofh.it> (permalink)
References <qkLJM-7Yc-3@gated-at.bofh.it> <qkOeE-385-49@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sat, 2015-10-17 at 18:55 -0700, Greg Kroah-Hartman wrote:
> 4.2-stable review patch.  If anyone has any objections, please let me know.
> 
> ------------------
> 
> From: Azael Avalos <coproscefalo@gmail.com>
> 
> commit 53147b6cabee5e8d1997b5682fcc0c3b72ddf9c2 upstream.
> 
> Commit a2b3471b5b13 ("toshiba_acpi: Use the Hotkey Event Type function
> for keymap choosing") changed the *setup_keyboard function to query for
> the Hotkey Event Type to help choose the correct keymap, but turns out
> that here are certain Toshiba models out there not implementing this
> feature, and thus, failing to continue the input device registration and
> leaving such laptops without hotkey support.
> 
> This patch changes such check, and instead of returning an error if
> the Hotkey Event Type is not present, we simply inform userspace about it,
> changing the message printed from err to notice, making the function
> responsible for registering the input device to continue.
[...]

But then this function proceeds without events_type being initialised
at all, with unpredictable results.  This doesn't look like a proper
 fix.

Ben.

-- 
Ben Hutchings
The first rule of tautology club is the first rule of tautology club.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 4.2 022/258] toshiba_acpi: Fix hotkeys registration on some toshiba models Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2015-10-18 07:00 +0200
  Re: [PATCH 4.2 022/258] toshiba_acpi: Fix hotkeys registration on  some toshiba models Ben Hutchings <ben@decadent.org.uk> - 2015-10-20 01:40 +0200
    Re: [PATCH 4.2 022/258] toshiba_acpi: Fix hotkeys registration on  some toshiba models Darren Hart <dvhart@infradead.org> - 2015-10-21 10:50 +0200
      Re: [PATCH 4.2 022/258] toshiba_acpi: Fix hotkeys registration on  some toshiba models Azael Avalos <coproscefalo@gmail.com> - 2015-10-26 18:00 +0100

csiph-web