Re: [PATCH 06/10] bus: mhi: core: Set BHI and BHIe pointers to NULL in clean-up

From: Greg KH
Date: Fri Jun 25 2021 - 08:39:05 EST


On Fri, Jun 25, 2021 at 06:03:51PM +0530, Manivannan Sadhasivam wrote:
> From: Bhaumik Bhatt <bbhatt@xxxxxxxxxxxxxx>
>
> Set the BHI and BHIe pointers to NULL as part of clean-up. This
> makes sure that stale pointers are not accessed after powering
> MHI down.
>
> Cc: stable@xxxxxxxxxxxxxxx

Why is this needed for stable, but patch 5/10 is not?

And what commit does this fix? How far back should it go?

And is this really fixing anything?

thanks,

greg k-h