crypto: qat - Fix error path crash when no firmware is present
authorTadeusz Struk <tadeusz.struk@intel.com>
Tue, 24 Jun 2014 22:19:40 +0000 (15:19 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 26 Jun 2014 06:49:46 +0000 (14:49 +0800)
commit8f312d64b5eea5c1f807265c1010969a0cb4b876
treeabd3640033e2c530bb340d5c6816303f9d5457ac
parentd65071ecde1ed1b99d057a877e0e3d29748c3a4d
crypto: qat - Fix error path crash when no firmware is present

Firmware loader crashes when no firmware file is present.

Reviewed-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/qat/qat_common/adf_common_drv.h
drivers/crypto/qat/qat_common/qat_uclo.c