scsi: ufs: print helpful hint when response size exceed buffer size
authorBean Huo <beanhuo@micron.com>
Tue, 12 Nov 2019 22:34:35 +0000 (23:34 +0100)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 13 Nov 2019 03:21:34 +0000 (22:21 -0500)
commit3d4881d1d6450b7b60da498e607610ac382bdb49
treefa717d42e7ebcbeee6a471b30facf4fe9e4410ec
parent964231aa0c7ef53ebc9c2a6889bbc50d8a3f2220
scsi: ufs: print helpful hint when response size exceed buffer size

Print out returned response size and buffer size, while the front one is
bigger than the back one.

Link: https://lore.kernel.org/r/20191112223436.27449-2-huobean@gmail.com
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Bean Huo <beanhuo@micron.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c