Messages in this thread | | | Date | Sat, 3 Aug 2019 09:43:01 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [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
| |