Thread (82 messages) 82 messages, 11 authors, 2024-11-22

Re: [PATCH v1 1/9] mfd: Add core driver for Nuvoton NCT6694

From: Marc Kleine-Budde <mkl@pengutronix.de>
Date: 2024-10-25 09:03:01
Also in: linux-can, linux-gpio, linux-hwmon, linux-i2c, linux-iio, linux-pwm, linux-rtc, linux-watchdog, lkml

On 25.10.2024 10:35:35, Marc Kleine-Budde wrote:
quoted
Excuse me, I'm a bit confused. Is there anything I need to
improve on?
It looks racy to _first_ add the devices and _then_ the workqueue.

So the obvious solution is to allocate the worklist first and then add
                                             workqueue
the devices.
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde          |
Embedded Linux                   | https://www.pengutronix.de |
Vertretung Nürnberg              | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-9   |

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help