scsi: hisi_sas: fix PI memory size
authorXiang Chen <chenxiang66@hisilicon.com>
Wed, 2 May 2018 15:56:27 +0000 (23:56 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 8 May 2018 05:10:44 +0000 (01:10 -0400)
commita14da7a20d499c54ebe53e430283e3bc17d3e89f
tree2e2794ef12522662401298668687a9618d596a80
parentcd938e535e909b80948f26d284ba7475adee0c08
scsi: hisi_sas: fix PI memory size

There are 28 bytes of protection information record of SSP for v3 hw, 16
bytes for v2 hw, and probably 24 for v1 hw (forgotten now).

So use a value big enough in hisi_sas_command_table_ssp.prot to cover
all cases.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h