blktests nvme 041,042 leak memory
Maurizio Lombardi
mlombard at redhat.com
Thu May 30 10:40:15 PDT 2024
čt 30. 5. 2024 v 18:29 odesílatel Keith Busch <kbusch at kernel.org> napsal:
> I noticed that too, if cdev_dev_add() fails we are supposed to do a
> put_device. This driver seems to be making it difficult to use the core
> device interfaces as intended.
>
Just an idea: maybe split nvme_init_ctrl() in two parts?
One with the pre-device_initialize() stuff, I don't know, call it
nvme_alloc_ctrl();
and the remaining part will be nvme_init_ctrl().
Maurizio
More information about the Linux-nvme
mailing list