lkml.org 
[lkml]   [2014]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] kobject: fix NULL pointer derefernce in kobj_child_ns_ops
On Wed, Sep 24, 2014 at 04:25:54PM +0530, Pankaj Dubey wrote:
> We will hit NULL pointer dereference if we call
> platform_device_register_simple or platform_device_add at very early
> stage. I have observed following crash when called platform_device_add
> from "init_irq" hook of machine_desc. This patch fixes this issue and
> let system handle this case gracefully instead of kernel panic.

Is there any in-tree code that needs this "fix"? Or can it wait for
3.18?

thanks,

greg k-h


\
 
 \ /
  Last update: 2014-09-25 13:21    [W:0.037 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site