2024-02-16 03:00:34

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build warning after merge of the workqueues tree

Hi all,

After merging the workqueues tree, today's linux-next build (x86_64
allnoconfig) produced this warning:

WARNING: unmet direct dependencies detected for IRQ_WORK
Depends on [n]: SMP [=n]
Selected by [y]:
- PRINTK [=y]
- PERF_EVENTS [=y] && HAVE_PERF_EVENTS [=y]

Other allnoconfig builds produced similar warnings.

Introduced by commit

9d6efa8d0dd0 ("workqueue, irq_work: Build fix for !CONFIG_IRQ_WORK")

--
Cheers,
Stephen Rothwell


Attachments:
(No filename) (499.00 B)
OpenPGP digital signature

2024-02-16 04:47:06

by Tejun Heo

[permalink] [raw]
Subject: Re: linux-next: build warning after merge of the workqueues tree

Hello,

On Fri, Feb 16, 2024 at 02:00:14PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> After merging the workqueues tree, today's linux-next build (x86_64
> allnoconfig) produced this warning:
>
> WARNING: unmet direct dependencies detected for IRQ_WORK
> Depends on [n]: SMP [=n]
> Selected by [y]:
> - PRINTK [=y]
> - PERF_EVENTS [=y] && HAVE_PERF_EVENTS [=y]
>
> Other allnoconfig builds produced similar warnings.
>
> Introduced by commit
>
> 9d6efa8d0dd0 ("workqueue, irq_work: Build fix for !CONFIG_IRQ_WORK")

Ah, sorry. I made it worse. I should have selected IRQ_WORK from SMP not
depend on it. Will update. Thank you.

--
tejun