lkml.org 
[lkml]   [2016]   [Sep]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] driver-core: platform: Catch errors from calls to irq_get_irq_data
On Wed, Sep 14, 2016 at 11:44 AM, Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
> On Wed, Sep 14, 2016 at 11:06:08AM +0200, Linus Walleij wrote:
>> On Wed, Sep 14, 2016 at 5:32 AM, Guenter Roeck <linux@roeck-us.net> wrote:
>>
>> > irq_get_irq_data() can return NULL, which results in a nasty crash.
>> > Check its return value before passing it on to irqd_set_trigger_type().
>> >
>> > Signed-off-by: Guenter Roeck <linux@roeck-us.net>
>>
>> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
>>
>> Should probably be tagged for stable.
>
> Why, are there any systems that are currently broken without this change
> right now?

I guess Günther can tell if there are any, but I guess you're right,
no need to rush it for stable then.

Yours,
Linus Walleij

\
 
 \ /
  Last update: 2016-09-17 09:59    [W:0.055 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site