Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp5848566ybn; Sun, 29 Sep 2019 07:02:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqw8B0Qf+855PTzE2X/Jq+o2Qqfi6TPprkNIqKBwgMcURScNFQM8CEld8av3MjWxGx6y+Q1m X-Received: by 2002:a50:8ad1:: with SMTP id k17mr14974857edk.243.1569765755488; Sun, 29 Sep 2019 07:02:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569765755; cv=none; d=google.com; s=arc-20160816; b=c9YOU6Rp0X5RMKOtD/GYmoWg9hagcvCKDmljsuLPEwlMDmcnqCq6mJTy0sNCukDsu3 pviOVl2cVhxq3tDcFQ5TT6NT9rWGOaik27JMOmD0/Hro9+40GtywB9RliMhm9cSOOvg3 GgMTH742XeBT7sfKjuZrM6mjUD75qI3/l2btXimoQ58J0HoKmYxGa/JnR2ECYjZhpeDQ tc5k/IGoqlakp62AfDvb3E5RugmNiupUIqd6llMLtNtik8Bqt1ITXmznRXXWWfdwRFoS mZKsVF/Lwdnx0syTTaDdoGXY8CcB0ldXoofqokCXPhmUiljo2jhcTUaDnw8u0cdvM+y4 yr3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=5UYLyWNB1+ysc4ZYMm1pGkLNsnprYvG4/TPjpLganhw=; b=IKDuzMqOnn1K/FlyKpMvJiP8McuosPRgHPwm04YWko7siqfxSS9dr9fEYhH+1MbTIK KnCauhGyc0wumNU7DDugvNTZD/CQMotXF8Z4UZ9Y7Q8gTxALwpnZuqz584BVFxyiuoUf TQRG+xmo97UNqkLxf0DFA+WVPuXTSh5TSn6Tue4aUn9Q/SNj3dPl61WKCujCAUeRT5qW Ii5C6FbWtvwZJshc1lnh3uuKabwALZ5/KIpBTYh9a5jfOGfoAKmT4AmNU4nRwa2WcApO ZbK+8Dz16x72H2jr4EyD8wI3DWoHj4j+mEkWVzvylovyVNyZPBh5+vWDA/iIPlxJ5nU1 P/+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="ip4/rMUj"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b16si5382143ejb.165.2019.09.29.07.02.10; Sun, 29 Sep 2019 07:02:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="ip4/rMUj"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730014AbfI2OBT (ORCPT + 99 others); Sun, 29 Sep 2019 10:01:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:43450 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730010AbfI2OBR (ORCPT ); Sun, 29 Sep 2019 10:01:17 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7E2702082F; Sun, 29 Sep 2019 14:01:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1569765677; bh=igNzxv6Hh1bfS9Yen3GU42DNBAOjWDN0ZfkeRh5KStc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ip4/rMUjrsdn08iwq455yIN67pKlWj10lF2ObIByiBnxJQBmy4DDwclCvnvByroLm RSoeHfPMTCwsaBJmIOrT4GQp9FfZdExxWAn2TJ/YkmzEBZStPc1ZHAzsb1Nzp5Lpz+ 0mjwqmjyx/8oUGSLBDgCRmEFCO0vSZXHrVAgQewQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, kbuild test robot , "Gustavo A. R. Silva" , Christophe Leroy , Herbert Xu Subject: [PATCH 5.2 19/45] crypto: talitos - fix missing break in switch statement Date: Sun, 29 Sep 2019 15:55:47 +0200 Message-Id: <20190929135030.284207271@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190929135024.387033930@linuxfoundation.org> References: <20190929135024.387033930@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Gustavo A. R. Silva commit 5fc194ea6d34dfad9833d3043ce41d6c52aff39a upstream. Add missing break statement in order to prevent the code from falling through to case CRYPTO_ALG_TYPE_AHASH. Fixes: aeb4c132f33d ("crypto: talitos - Convert to new AEAD interface") Cc: stable@vger.kernel.org Reported-by: kbuild test robot Signed-off-by: Gustavo A. R. Silva Reviewed-by: Christophe Leroy Signed-off-by: Herbert Xu Signed-off-by: Greg Kroah-Hartman --- drivers/crypto/talitos.c | 1 + 1 file changed, 1 insertion(+) --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -3190,6 +3190,7 @@ static int talitos_remove(struct platfor break; case CRYPTO_ALG_TYPE_AEAD: crypto_unregister_aead(&t_alg->algt.alg.aead); + break; case CRYPTO_ALG_TYPE_AHASH: crypto_unregister_ahash(&t_alg->algt.alg.hash); break;