scsi: ufs: Change upiu_flags to be u8
authorBean Huo <beanhuo@micron.com>
Mon, 6 Jul 2020 12:39:36 +0000 (14:39 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 8 Jul 2020 05:08:14 +0000 (01:08 -0400)
commita23064c4123b2422d587f97182798a29f3dd3f2d
tree18c70c7dc0c9e5c23031173efb9b9da86fc1ea20
parent9133d27ef104207416db7a97204c0062d27f8b33
scsi: ufs: Change upiu_flags to be u8

According to the UFS Spec, the Flags field in the UPIU is one byte in size,
not 4. Change it to be u8.

Link: https://lore.kernel.org/r/20200706123936.24799-1-huobean@gmail.com
Tested-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c