crypto: qat - increase number of supported devices
authorXin Zeng <xin.zeng@intel.com>
Thu, 22 Dec 2016 15:01:02 +0000 (15:01 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 30 Dec 2016 11:52:36 +0000 (19:52 +0800)
commit1043c5146877ea48e4c8569a1c7931e1bfb6acb5
tree5e37b486a03ba6a0d168e6f377f56580d3b0f2a2
parent21aad0b6ca4d203b2486dfbf97921a2ecd768bcc
crypto: qat - increase number of supported devices

The unsigned long type for init_status and start_status in
service_hndl are not long enough to represent more than 64
acceleration devices. Use an array instead.

Signed-off-by: Xin Zeng <xin.zeng@intel.com>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_cfg_common.h
drivers/crypto/qat/qat_common/adf_common_drv.h
drivers/crypto/qat/qat_common/adf_init.c