commit | 393e661d6167c1b7444704191ea1d01aa3447894 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Tue Aug 20 11:51:41 2013 +0300 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Aug 21 21:28:06 2013 +1000 |
tree | 6e88ed7d3c478a7c8eaf72fe945cb75811219dac | |
parent | 1bbf643705c3f85f3fa2325807afae260f755f9a [diff] |
crypto: sahara - checking the wrong variable There is a typo here. "dev->hw_link[]" is an array, not a pointer, so the check is nonsense. We should be checking recently allocated "dev->hw_link[0]" instead. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>