summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2017-03-12 12:22:02 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2017-03-15 13:37:18 -0400
commit949d7fa158b2b1af533bdb1af0dda8ab103ac58d (patch)
tree33963807742388957feb1d2ef6a1f41b95916210 /drivers/scsi/isci
parent2ef2884980873081a4edae92f9d88dd580c85f6e (diff)
downloadlwn-949d7fa158b2b1af533bdb1af0dda8ab103ac58d.tar.gz
lwn-949d7fa158b2b1af533bdb1af0dda8ab103ac58d.zip
scsi: ufs: don't check unsigned type for a negative value
Fix compilation warning: drivers/scsi/ufs/ufshcd.c:7645:13: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits] if ((value < UFS_PM_LVL_0) || (value >= UFS_PM_LVL_MAX)) Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Reviewed-by: Subhash Jadavani <subhashj@codeaurora.org> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/isci')
0 files changed, 0 insertions, 0 deletions