Re: [PATCH] drm/amdgpu/userq: refactor MQD init into per-IP helpers
From: Markus Elfring
Date: Tue Mar 17 2026 - 10:00:41 EST
> We may need to clear mqd before returning on error to guarantee kfree() won’t see an error pointer at scope exit.
Would you like to take another look at a corresponding implementation detail?
https://elixir.bootlin.com/linux/v7.0-rc4/source/include/linux/slab.h#L517
Regards,
Markus