crypto: qat - silence a static checker warning
authorTadeusz Struk <tadeusz.struk@intel.com>
Sat, 22 Aug 2015 15:29:30 +0000 (08:29 -0700)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 24 Aug 2015 14:07:44 +0000 (22:07 +0800)
commit55e8dba1acc2e3e9d77226c3b08b25a02a0e3a3a
tree75a04d98fa6c4b54c7fd7ffcc5425419cbb9b0a2
parent73613a8159ddbf5a9ead0c03174458fa8210bdf7
crypto: qat - silence a static checker warning

Add range check for ring number.

Reported-by: Dan Carpenter <dan.carpenter@oracle.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_transport.c