lkml.org 
[lkml]   [2019]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] genirq: Properly pair kobject_del with kobject_add
On Sat, 3 Aug 2019, gregkh@linuxfoundation.org wrote:
> On Fri, Aug 02, 2019 at 08:19:37PM +0000, Michael Kelley wrote:
> > > Relying on irq_kobj_base to be present or not seems like an odd test
> > > here.
> > >
> >
> > It's the same test that is used in irq_sysfs_add to decide whether to
> > call kobject_add. So it makes everything paired up and symmetrical.
>
> Ugh, that's a tangled mess and totally not obvious at all. I'm sure
> there's a good reason for all of that, and I really don't want to know
> :)

It's all your fault that the sysfs stuff does not work in very early boot.

/me runs

\
 
 \ /
  Last update: 2019-08-03 09:44    [W:0.059 / U:8.588 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site