Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 68634125 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "crypto: msm: remove extraneous parentheses in qcedev.c"

parents ea274671 d0d6e43c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Qualcomm CE device driver.
 *
 * Copyright (c) 2010-2016, The Linux Foundation. All rights reserved.
 * Copyright (c) 2010-2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1381,7 +1381,7 @@ static int qcedev_check_cipher_key(struct qcedev_cipher_op_req *req,
			/* if not using HW key make sure key
			 * length is valid
			 */
			if ((req->mode == QCEDEV_AES_MODE_XTS)) {
			if (req->mode == QCEDEV_AES_MODE_XTS) {
				if ((req->encklen != QCEDEV_AES_KEY_128*2) &&
				(req->encklen != QCEDEV_AES_KEY_256*2)) {
					pr_err("%s: unsupported key size: %d\n",