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:
pgp_h96Dl8AP2.pgp
Description: OpenPGP digital signature