Merge remote-tracking branch 'sound-asoc/for-next'
[deliverable/linux.git] / drivers / crypto / sunxi-ss / sun4i-ss-hash.c
index 2ee3b59d5ddf3dd1d0aa3ca9d5e7f5cc42c200e8..1afeb8e5f709e4b6a796067872ba78905b62e30a 100644 (file)
@@ -245,7 +245,8 @@ int sun4i_hash(struct ahash_request *areq)
                if (end > areq->nbytes || areq->nbytes - end > 63) {
                        dev_err(ss->dev, "ERROR: Bound error %u %u\n",
                                end, areq->nbytes);
-                       return -EINVAL;
+                       err = -EINVAL;
+                       goto release_ss;
                }
        } else {
                /* Since we have the flag final, we can go up to modulo 4 */
This page took 0.028605 seconds and 5 git commands to generate.