Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5438050ybe; Tue, 10 Sep 2019 03:47:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqx6l6Eza3oIyuEGXhxWe7htwqBLQ0ShuGESZ/sQuRe9BZQ0iRtYMrPvmJPgGqkqddzmULjZ X-Received: by 2002:a50:f00c:: with SMTP id r12mr29892489edl.274.1568112448367; Tue, 10 Sep 2019 03:47:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568112448; cv=none; d=google.com; s=arc-20160816; b=0WzEE9Czzf+jj3zTfktJi6ZUB4HqTc98c3LXmGFZhxdsBPNVPkhi4V39ytu3OJjCtG bDC3THWLmYHwHpEhn/gJrEyfrTs4w9mADo1xe1gHccmibiurqNlp3zP7F1qXQqjigO8x CTWXLV1ZOw/RWbBjKAnxu3GGIM4H+vOgjvTzwiYADjS4x6nmveTzRhwDF5tkF4qDadiJ Um29/2rwAyvFKau8qNrYT11qdhKOPBeBL38BIUVt6E8cDQEB+59CPkO4fNaARR8nAJOC Aj7tslhozLn2FYUlsMgY3p6obShGbXAoVi2PViFQnYaQZHKJEt0lqi4aLs2GtNTEn/A1 hqAg== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=2LE1jQAHGICVNBPwsOGB6KPlSmxFI7HuAFqLdw7uWcI=; b=gGMrGg0UOYunHYnk8gruVp4kR/aB1d/n6SPuUHKZrfVnT2Rw3FBnZgUAUbzC3YY4lh My54b8i259wKJ6VKCSsYA3Q4KVVDBgLhRVfRigOwekyWLQeYP3FC9lyky0GrBTUIbQL6 0+9VsdZK7pWdXOYMhoJytZEpbwFFN9TXavoBOFGPI1WqRZB2EkR0varX5cMPXEpHxYJk G1mVoy4uO6dXjiAIR6dxVfxF1kiC1p+Ik0OeThqPCK96mRHLTmhfExWSkveV14qb5SPb LKpARFlbmZTuCNcF99KIf22YyhPBxfW9Sq0Zqd5jqBT+T+pv54bcGxW2+yD8OQeGspan Q9ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@c-s.fr header.s=mail header.b=X7YdkP0i; 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 h14si10795413edb.425.2019.09.10.03.47.04; Tue, 10 Sep 2019 03:47:28 -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=pass header.i=@c-s.fr header.s=mail header.b=X7YdkP0i; 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 S2390857AbfIJGGt (ORCPT + 99 others); Tue, 10 Sep 2019 02:06:49 -0400 Received: from pegase1.c-s.fr ([93.17.236.30]:25840 "EHLO pegase1.c-s.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390828AbfIJGGt (ORCPT ); Tue, 10 Sep 2019 02:06:49 -0400 Received: from localhost (mailhub1-int [192.168.12.234]) by localhost (Postfix) with ESMTP id 46SF0k1Pwqz9twm3; Tue, 10 Sep 2019 08:06:46 +0200 (CEST) Authentication-Results: localhost; dkim=pass reason="1024-bit key; insecure key" header.d=c-s.fr header.i=@c-s.fr header.b=X7YdkP0i; dkim-adsp=pass; dkim-atps=neutral X-Virus-Scanned: Debian amavisd-new at c-s.fr Received: from pegase1.c-s.fr ([192.168.12.234]) by localhost (pegase1.c-s.fr [192.168.12.234]) (amavisd-new, port 10024) with ESMTP id z8Z7mvRwgSoq; Tue, 10 Sep 2019 08:06:46 +0200 (CEST) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase1.c-s.fr (Postfix) with ESMTP id 46SF0j6wp9z9twm2; Tue, 10 Sep 2019 08:06:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=c-s.fr; s=mail; t=1568095606; bh=2LE1jQAHGICVNBPwsOGB6KPlSmxFI7HuAFqLdw7uWcI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=X7YdkP0i4c954oLLUr0NVRBWOgm99veZMYtWyC4yto/Mbp05F+D4IP95DPsz8TvkM H78IbBXV4T4HUP4Th+LM8MyvxysaoetMcofNAAYRNC/HG0WEKy8PemVPLly2hpDwDG FLAuBk2Ouyp0fjA6Tb4C9sgg/cdZ7E5JNuWMSVe4= Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id AF7548B78E; Tue, 10 Sep 2019 08:06:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id Y62PyhrlvnZF; Tue, 10 Sep 2019 08:06:46 +0200 (CEST) Received: from [192.168.4.90] (unknown [192.168.4.90]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 558418B754; Tue, 10 Sep 2019 08:06:46 +0200 (CEST) Subject: Re: [PATCH] crypto: talitos - fix missing break in switch statement To: "Gustavo A. R. Silva" , Herbert Xu , "David S. Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org References: <20190909052952.GA32131@embeddedor> From: Christophe Leroy Message-ID: Date: Tue, 10 Sep 2019 08:06:46 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20190909052952.GA32131@embeddedor> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: fr Content-Transfer-Encoding: 8bit Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Le 09/09/2019 à 07:29, Gustavo A. R. Silva a écrit : > 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 > --- > 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; >