Messages in this thread | | | Subject | Re: [scsi] scsi: ufs: don't check unsigned type for a negative value | From | "Martin K. Petersen" <> | Date | Mon, 13 Mar 2017 23:02:08 -0400 |
| |
>>>>> "Tomas" == Tomas Winkler <tomas.winkler@intel.com> writes:
Tomas> Fix compilation warning drivers/scsi/ufs/ufshcd.c:7645:13: Tomas> warning: comparison of unsigned expression < 0 is always false Tomas> [-Wtype-limits] if ((value < UFS_PM_LVL_0) || (value >= Tomas> UFS_PM_LVL_MAX))
Applied to 4.11/scsi-fixes, thanks!
-- Martin K. Petersen Oracle Linux Engineering
| |