Messages in this thread |  | | From | Yoshihiro Shimoda <> | Subject | RE: How to fix WARN from drivers/base/dd.c in next-20200401 if CONFIG_MODULES=y? | Date | Mon, 6 Apr 2020 10:01:54 +0000 |
| |
Hi again,
<snip> > I'm guessing we should add the following flush_work for deferred_probe_timeout_work(). > # Sorry, I didn't test this for some reasons yet though... > > + /* wait for the deferred probe timeout workqueue to finish */ > + if (driver_deferred_probe_timeout > 0) > + flush_work(&deferred_probe_timeout_work);
I'm sorry. This code caused build error because the deferred_probe_timeout_work is struct delayed_work. Also, I don't think using flush_delayed_work() is my expectation (wait until the timeout of deferred)...
Best regards, Yoshihiro Shimoda
|  |