scsi: ufs: fix sense buffer size to 18 bytes
authorGilad Broner <gbroner@codeaurora.org>
Tue, 18 Oct 2016 00:09:48 +0000 (17:09 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 Nov 2016 22:29:58 +0000 (17:29 -0500)
commitdcea0bfbc4cb6796a222ffaeebd77a0a89a1babc
tree31b38b4438169bbe59656d8d052291f343d00e7d
parentad1a1b9cd67a4b5bee8a62454336d94f9e816c1f
scsi: ufs: fix sense buffer size to 18 bytes

According to UFS device specification, sense data can be only 18 bytes
long, this change makes the changes accordingly.

Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c