[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAKzKK0qJOz_+pNAVAD8Ub6TZ9uhFOzuDC_bws9MVzxNa7RqYhA@mail.gmail.com>
Date: Wed, 17 Jan 2024 15:17:55 +0800
From: Kuen-Han Tsai <khtsai@...gle.com>
To: Uttkarsh Aggarwal <quic_uaggarwa@...cinc.com>
Cc: Thinh Nguyen <Thinh.Nguyen@...opsys.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org
Subject: Re: [RFC PATCH] usb: dwc3: gadget: Fix NULL pointer dereference in dwc3_gadget_suspend
> ret = dwc3_gadget_soft_disconnect(dwc);
> if (ret)
> goto err;
For improved readability, we can remove the goto statement and move
the error handling logic here.
Thanks,
Kuen-Han
Powered by blists - more mailing lists