Re: 回复: [PATCH] usb: f_fs-aio-simple: add NULL checks for malloc calls
From: gregkh
Date: Mon Aug 17 2026 - 02:55:50 EST
On Mon, Aug 17, 2026 at 02:40:20PM +0800, 晏龙龙 wrote:
> It's userspace, why not just return an error and let the kernel clean up
> the memory automatically?
> Or better yet, just have a goto to jump to the end of the function where
> all of this code already lives?
That's what I wrote, not you?
Also, please don't send html email, or top-post.
confused,
greg k-h