RE: [PATCH 12/14] drm/kmb: Fix possible oops in error handling

2021-07-28 Thread Chrisanthus, Anitha
Hi Sam, > -Original Message- > From: Sam Ravnborg > Sent: Wednesday, July 28, 2021 12:27 AM > To: Chrisanthus, Anitha > Cc: dri-devel@lists.freedesktop.org; Dea, Edmund J > ; Dan Carpenter > Subject: Re: [PATCH 12/14] drm/kmb: Fix possible oops in error handling &g

Re: [PATCH 12/14] drm/kmb: Fix possible oops in error handling

2021-07-28 Thread Dan Carpenter
On Tue, Jul 27, 2021 at 05:31:24PM -0700, Anitha Chrisanthus wrote: > If kmb_dsi_init() fails the "kmb->kmb_dsi" variable is an error pointer. > This can potentially result in kernel panic when kmb_dsi_host_unregister is > called. > > Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display"

Re: [PATCH 12/14] drm/kmb: Fix possible oops in error handling

2021-07-28 Thread Sam Ravnborg
Hi Anitha, On Tue, Jul 27, 2021 at 05:31:24PM -0700, Anitha Chrisanthus wrote: > If kmb_dsi_init() fails the "kmb->kmb_dsi" variable is an error pointer. > This can potentially result in kernel panic when kmb_dsi_host_unregister is > called. > > Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for Keem

[PATCH 12/14] drm/kmb: Fix possible oops in error handling

2021-07-27 Thread Anitha Chrisanthus
If kmb_dsi_init() fails the "kmb->kmb_dsi" variable is an error pointer. This can potentially result in kernel panic when kmb_dsi_host_unregister is called. Fixes: 7f7b96a8a0a1 ("drm/kmb: Add support for KeemBay Display") Fixes: 98521f4d4b4c ("drm/kmb: Mipi DSI part of the display driver") Cc: Dan