mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Tetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build warnings after merge of the tomoyo tree
Date: Tue, 31 May 2022 10:44:24 +1000	[thread overview]
Message-ID: <20220531104424.0a467ba4@canb.auug.org.au> (raw)

[-- Attachment #1: Type: text/plain, Size: 4663 bytes --]

Hi all,

After merging the tomoyo tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:

drivers/scsi/mpt3sas/mpt3sas_scsih.c: In function 'scsih_suspend':
drivers/scsi/mpt3sas/mpt3sas_scsih.c:12412:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
12412 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/scsi/qla2xxx/qla_target.c: In function 'qlt_stop_phase1':
drivers/scsi/qla2xxx/qla_target.c:1566:17: note: '#pragma message: Please avoid flushing system-wide workqueues.'
 1566 |                 flush_scheduled_work();
      |                 ^~~~~~~~~~~~~~~~~~~~
drivers/md/dm.c: In function 'local_exit':
drivers/md/dm.c:246:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
  246 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~

Introduced by commit

  48d1646a0262 ("workqueue: Wrap flush_scheduled_work() using a macro")

Also, my x86_64 allmodconfig build gained these:

drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c: In function 'cdns_mhdp_remove':
drivers/gpu/drm/bridge/cadence/cdns-mhdp8546-core.c:2606:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
 2606 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/bridge/lontium-lt9611uxc.c: In function 'lt9611uxc_remove':
drivers/gpu/drm/bridge/lontium-lt9611uxc.c:985:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
  985 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/message/fusion/mptscsih.c: In function 'mptscsih_suspend':
drivers/message/fusion/mptscsih.c:1234:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
 1234 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/net/wireless/ath/ath6kl/usb.c: In function 'ath6kl_usb_flush_all':
drivers/net/wireless/ath/ath6kl/usb.c:481:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
  481 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
In file included from drivers/gpu/drm/i915/gt/intel_execlists_submission.c:4112:
drivers/gpu/drm/i915/gt/selftest_execlists.c: In function 'wait_for_reset':
drivers/gpu/drm/i915/gt/selftest_execlists.c:88:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
   88 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/i915/display/intel_display.c: In function 'intel_modeset_driver_remove_noirq':
drivers/gpu/drm/i915/display/intel_display.c:10502:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
10502 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/scsi/qla2xxx/qla_target.c: In function 'qlt_stop_phase1':
drivers/scsi/qla2xxx/qla_target.c:1566:17: note: '#pragma message: Please avoid flushing system-wide workqueues.'
 1566 |                 flush_scheduled_work();
      |                 ^~~~~~~~~~~~~~~~~~~~
drivers/rtc/dev.c: In function 'clear_uie':
drivers/rtc/dev.c:99:25: note: '#pragma message: Please avoid flushing system-wide workqueues.'
   99 |                         flush_scheduled_work();
      |                         ^~~~~~~~~~~~~~~~~~~~
drivers/scsi/mpt3sas/mpt3sas_scsih.c: In function 'scsih_suspend':
drivers/scsi/mpt3sas/mpt3sas_scsih.c:12412:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
12412 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/md/dm.c: In function 'local_exit':
drivers/md/dm.c:246:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
  246 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/platform/surface/surface_acpi_notify.c: In function 'san_remove':
drivers/platform/surface/surface_acpi_notify.c:864:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
  864 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/rapidio/devices/tsi721.c: In function 'tsi721_remove':
drivers/rapidio/devices/tsi721.c:2944:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
 2944 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~
drivers/iio/light/tsl2563.c: In function 'tsl2563_remove':
drivers/iio/light/tsl2563.c:811:9: note: '#pragma message: Please avoid flushing system-wide workqueues.'
  811 |         flush_scheduled_work();
      |         ^~~~~~~~~~~~~~~~~~~~

Linus will not be happy ...
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

             reply	other threads:[~2022-05-31  0:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-31  0:44 Stephen Rothwell [this message]
2022-05-31  4:31 ` Tetsuo Handa
2022-05-31 16:45   ` Linus Torvalds

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220531104424.0a467ba4@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=penguin-kernel@i-love.sakura.ne.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®