Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4302238ybe; Mon, 9 Sep 2019 07:23:07 -0700 (PDT) X-Google-Smtp-Source: APXvYqxJ9Q5B/S6iIITvov9tAA0jhhU6cKnv+7OvTKoQuvJhA73VabrshG2rhFeFXUrfqPEglEgO X-Received: by 2002:a05:6402:1490:: with SMTP id e16mr24318329edv.15.1568038986891; Mon, 09 Sep 2019 07:23:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568038986; cv=none; d=google.com; s=arc-20160816; b=wpT7oP4EeQBtk/wnao6KdlwqNyuEll8MsGagELsQbt1l/1KaaOAlbS6s5rjWGGlBSb XhbaUstsAuBtaXHMWTMvkRnkz0gE3N+YbiZZb55lMwW8XjSeMJUKR4TBjooeaO+Ak7UW UuEJa+b+/xLjLZLU4vQ2TUFmKjEv9VXz5uPqWp9BRW3H6DHUlxtjxqxWfMzk7IMvhJd4 1GkAbiqFNuH+C5WaoSK4ldGcbp3H16SSNPRLqGicrtZO2BuT2N/WEsfB+rxGRHpQ0ZBX j/gH777LUBzjwTM1eYcUlNABN7yq6qWfcSKFLUVE5mf8tolIn8KMEKM0mXRioVjo5Y/f mXtA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=ZeDC3momsOT8YDmWDluDBvJqw1Yr3vZVteUjPazb11I=; b=UAEIg6VDV62+KBN6KZ3BO8Z2nz1fwCobvyY53jApWNwpZ207eMMMbuXIsOuYVcANLe vQ0zSNZ77kn4BHvTykMew//JPEkgRdygQVoBuLkyOEVznDmVl6TvkOweWIiWAUBGEuEo mC2AJAKcG7plWSOTLq4wRcV1IaBhfdHZcYgP2O1XJtNt9I6Ti5ZOhrtmg+zcjJsD/7MN t5yIaf5G2pli52tSGsDCZ48tC2V8kdSl6pwwcZ4W2HO6/bsuXky9q/N3iIVuFjKBmsSq eOe3FW4XVFEpTL2BXVwVXuHBLROeg5sjxJ4LrcDygEycdKs6fj/aTurwygoNSe3zSigx 2C+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=Um5pUjFo; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-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 f31si9253430ede.253.2019.09.09.07.22.34; Mon, 09 Sep 2019 07:23:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@embeddedor.com header.s=default header.b=Um5pUjFo; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727215AbfIIFx4 (ORCPT + 99 others); Mon, 9 Sep 2019 01:53:56 -0400 Received: from gateway33.websitewelcome.com ([192.185.145.239]:35226 "EHLO gateway33.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727181AbfIIFxz (ORCPT ); Mon, 9 Sep 2019 01:53:55 -0400 X-Greylist: delayed 1371 seconds by postgrey-1.27 at vger.kernel.org; Mon, 09 Sep 2019 01:53:55 EDT Received: from cm17.websitewelcome.com (cm17.websitewelcome.com [100.42.49.20]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 0DD0A49ABB for ; Mon, 9 Sep 2019 00:29:57 -0500 (CDT) Received: from gator4166.hostgator.com ([108.167.133.22]) by cmsmtp with SMTP id 7CFRiGu7f90on7CFRi0c9v; Mon, 09 Sep 2019 00:29:57 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=embeddedor.com; s=default; h=Content-Type:MIME-Version:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ZeDC3momsOT8YDmWDluDBvJqw1Yr3vZVteUjPazb11I=; b=Um5pUjFoBY6v0BZ8qlZ+WKF0wl k8adoXfVN1zPhyJVO9MqjIguf2vcuZ4qPTS5wVQN/rAYPNPK78j/tJfddGNWlpy7xp8MExbuDJJO1 a5HiMfKRoJzyFKVYUtI5qX4WV3zwWgjH9lR2q/oBmcJcj+pXQtuSEfcuYogyVR2ZZQJlUmWXNAAhi hQe15/xbDYVIbCqo18WTqvRmD1Fggv1ARP2eCPVKpeeNzDw0vXPeoC3PtjxeTjZtbOHNirxxMVPJO K67OdD73jDqR3IqhPp7GM9RP6xRxzAeAnoRgEgPIhGty/6Zm2+ShrtzyGg2BWsinqe5sMx503/Ghi GaBOWeDQ==; Received: from [148.69.85.38] (port=16527 helo=embeddedor) by gator4166.hostgator.com with esmtpa (Exim 4.92) (envelope-from ) id 1i7CFP-001YEo-QC; Mon, 09 Sep 2019 00:29:55 -0500 Date: Mon, 9 Sep 2019 00:29:52 -0500 From: "Gustavo A. R. Silva" To: Herbert Xu , "David S. Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, "Gustavo A. R. Silva" Subject: [PATCH] crypto: talitos - fix missing break in switch statement Message-ID: <20190909052952.GA32131@embeddedor> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator4166.hostgator.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - embeddedor.com X-BWhitelist: no X-Source-IP: 148.69.85.38 X-Source-L: No X-Exim-ID: 1i7CFP-001YEo-QC X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: (embeddedor) [148.69.85.38]:16527 X-Source-Auth: gustavo@embeddedor.com X-Email-Count: 3 X-Source-Cap: Z3V6aWRpbmU7Z3V6aWRpbmU7Z2F0b3I0MTY2Lmhvc3RnYXRvci5jb20= X-Local-Domain: yes Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org 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 --- drivers/crypto/talitos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index c9d686a0e805..4818ae427098 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -3140,6 +3140,7 @@ static int talitos_remove(struct platform_device *ofdev) 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; -- 2.23.0