Re: [PATCH] staging: vme_user: fix crcsr_bus assignment on allocation failure

From: Greg KH

Date: Wed Oct 21 2026 - 02:21:12 EST


On Wed, Oct 21, 2026 at 11:02:22AM +0800, LiuJunyuan wrote:
> Assign bridge->crcsr_bus only after bridge->crcsr_kernel has been
> successfully allocated.

Why? There's nothing wrong with the original code.

thanks,

greg k-h