lkml.org 
[lkml]   [2022]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v3] scsi: ufs: use an generic error code in ufshcd_set_dev_pwr_mode
Date
On Fri, 21 Jan 2022 14:33:02 +0900, Kiwoong Kim wrote:

> v2 -> v3: change the value of ret only if it's positive
> v1 -> v2: modify the comment of ufshcd_set_dev_pwr_mode
>
> The return value of ufshcd_set_dev_pwr_mode is given to
> device pm core. However, the function currently returns a result
> in scsi command and the device pm core doesn't understand it.
> It might lead to unexpected behaviors of user land. I found
> the return value led to platform reset in Android.
>
> [...]

Applied to 5.17/scsi-fixes, thanks!

[1/1] scsi: ufs: use an generic error code in ufshcd_set_dev_pwr_mode
https://git.kernel.org/mkp/scsi/c/ad6c8a426446

--
Martin K. Petersen Oracle Linux Engineering

\
 
 \ /
  Last update: 2022-01-25 06:48    [W:0.150 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site