[COMMON] scsi: ufs: Fix CID 12297
authorKiwoong Kim <kwmad.kim@samsung.com>
Fri, 23 Jun 2017 06:02:20 +0000 (15:02 +0900)
committerJaeHun Jung <jh0801.jung@samsung.com>
Tue, 8 May 2018 08:21:46 +0000 (17:21 +0900)
commit40b693403fbb3df6495697adc009a3316d126063
tree61e3098a98b4b02d3de09eedd9aea6f12ceb01f4
parent6ac3d080534c4707895fdfd05aa8553c91d981d7
[COMMON] scsi: ufs: Fix CID 12297

The expression returns a signed value.
A variable to store is unsigned.
A type casting is needed.

Change-Id: Ie11d27130f6c904e08d9831796790d7666ae033f
Signed-off-by: Kiwoong Kim <kwmad.kim@samsung.com>
drivers/scsi/ufs/ufshcd.c