From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932417AbdJ0KqS (ORCPT ); Fri, 27 Oct 2017 06:46:18 -0400 Received: from a.mx.secunet.com ([62.96.220.36]:33086 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751158AbdJ0KqQ (ORCPT ); Fri, 27 Oct 2017 06:46:16 -0400 Date: Fri, 27 Oct 2017 12:46:08 +0200 From: Steffen Klassert To: "Gustavo A. R. Silva" CC: Herbert Xu , "David S. Miller" , , Subject: Re: [PATCH v2] net: xfrm_user: use BUG_ON instead of if condition followed by BUG Message-ID: <20171027104608.GE11292@secunet.com> References: <20171026054745.Horde.IgJuLhgV7tprdH0lZ5Pdj0U@gator4166.hostgator.com> <20171026113135.GA8044@embeddedor.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20171026113135.GA8044@embeddedor.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-G-Data-MailSecurity-for-Exchange-State: 0 X-G-Data-MailSecurity-for-Exchange-Error: 0 X-G-Data-MailSecurity-for-Exchange-Sender: 23 X-G-Data-MailSecurity-for-Exchange-Server: d65e63f7-5c15-413f-8f63-c0d707471c93 X-EXCLAIMER-MD-CONFIG: 2c86f778-e09b-4440-8b15-867914633a10 X-G-Data-MailSecurity-for-Exchange-Guid: 038D181A-CEF0-4A19-9409-4F4FAE658E40 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 26, 2017 at 06:31:35AM -0500, Gustavo A. R. Silva wrote: > Use BUG_ON instead of if condition followed by BUG. > > This issue was detected with the help of Coccinelle. > > Signed-off-by: Gustavo A. R. Silva Applied to ipsec-next, thanks Gustavo!