RE: [tip:irq/urgent] genirq: Properly pair kobject_del() with kobject_add()

From: Michael Kelley
Date: Mon Aug 19 2019 - 17:58:41 EST


From: Sasha Levin <sashal@xxxxxxxxxx> Sent: Monday, August 19, 2019 2:28 PM
>
> This commit has been processed because it contains a "Fixes:" tag,
> fixing commit: ecb3f394c5db genirq: Expose interrupt information through sysfs.
>
> The bot has tested the following trees: v5.2.9, v4.19.67, v4.14.139, v4.9.189.
>
> v5.2.9: Build failed! Errors:
> kernel/irq/irqdesc.c:446:6: error: âirq_kobj_baseâ undeclared (first use in this function);
> did you mean âirq_kobj_typeâ?
>
> v4.19.67: Build failed! Errors:
> kernel/irq/irqdesc.c:445:6: error: âirq_kobj_baseâ undeclared (first use in this function);
> did you mean âirq_kobj_typeâ?
>
> v4.14.139: Build failed! Errors:
> kernel/irq/irqdesc.c:428:6: error: âirq_kobj_baseâ undeclared (first use in this function);
> did you mean âirq_kobj_typeâ?
>
> v4.9.189: Build failed! Errors:
> kernel/irq/irqdesc.c:414:6: error: âirq_kobj_baseâ undeclared (first use in this function);
> did you mean âirq_kobj_typeâ?
>
>
> NOTE: The patch will not be queued to stable trees until it is upstream.
>
> How should we proceed with this patch?

Compile error occurs when CONFIG_SYSFS is not selected. It's probably cleanest to
revert the current patch. I'll send out a new version that fixes the problem.

Michael