Re: [PATCH] mm/hmm/test: Fix error handling in dmirror_device_init

From: Markus Elfring
Date: Sat Nov 08 2025 - 09:31:00 EST



> dmirror_device_remove() lacks the final put_device() call to properly
> release the device reference.


See also once more:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/process/submitting-patches.rst?h=v6.18-rc4#n94

Regards,
Markus