diff options
| author | Tomas Winkler <[email protected]> | 2017-03-12 10:22:02 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2017-03-15 17:37:18 +0000 |
| commit | 949d7fa158b2b1af533bdb1af0dda8ab103ac58d (patch) | |
| tree | 33963807742388957feb1d2ef6a1f41b95916210 /net/unix/garbage.c | |
| parent | scsi: hpsa: do not timeout reset operations (diff) | |
| download | kernel-949d7fa158b2b1af533bdb1af0dda8ab103ac58d.tar.gz kernel-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 <[email protected]>
Reviewed-by: Subhash Jadavani <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions
