[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <160579821160.27938.2855666994784444501.b4-ty@oracle.com>
Date: Thu, 19 Nov 2020 10:03:42 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: salyzyn@...gle.com, kernel-team@...roid.com,
asutoshd@...eaurora.org, hongwus@...eaurora.org,
saravanak@...gle.com, nguyenb@...eaurora.org,
Can Guo <cang@...eaurora.org>, rnayak@...eaurora.org,
linux-scsi@...r.kernel.org
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
Avri Altman <avri.altman@....com>,
Stanley Chu <stanley.chu@...iatek.com>,
"James E.J. Bottomley" <jejb@...ux.ibm.com>,
Bean Huo <beanhuo@...ron.com>,
open list <linux-kernel@...r.kernel.org>,
Bart Van Assche <bvanassche@....org>,
Alim Akhtar <alim.akhtar@...sung.com>
Subject: Re: [PATCH v2 1/1] scsi: ufs: Fix unexpected values get from ufshcd_read_desc_param()
On Wed, 21 Oct 2020 22:59:00 -0700, Can Guo wrote:
> Since WB feature has been added, WB related sysfs entries can be accessed
> even when an UFS device does not support WB feature. In that case, the
> descriptors which are not supported by the UFS device may be wrongly
> reported when they are accessed from their corrsponding sysfs entries.
> Fix it by adding a sanity check of parameter offset against the actual
> decriptor length.
Applied to 5.10/scsi-fixes, thanks!
[1/1] scsi: ufs: Fix unexpected values from ufshcd_read_desc_param()
https://git.kernel.org/mkp/scsi/c/1699f980d87f
--
Martin K. Petersen Oracle Linux Engineering
Powered by blists - more mailing lists