lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164308927348.18787.13724566963992033005.b4-ty@oracle.com>
Date:   Tue, 25 Jan 2022 00:41:30 -0500
From:   "Martin K. Petersen" <martin.petersen@...cle.com>
To:     cang@...eaurora.org, avri.altman@....com, sc.suh@...sung.com,
        beanhuo@...ron.com, bhoon95.kim@...sung.com,
        Kiwoong Kim <kwmad.kim@...sung.com>, vkumar.1997@...sung.com,
        hy50.seo@...sung.com, jejb@...ux.ibm.com, adrian.hunter@...el.com,
        alim.akhtar@...sung.com, sh425.lee@...sung.com,
        linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:     "Martin K . Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH v3] scsi: ufs: use an generic error code in ufshcd_set_dev_pwr_mode

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ