Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2743426ybi; Sun, 9 Jun 2019 19:59:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzuJ+7YwiEgjBoXeqC3aCzzF113Pkty9NLb1trQq3k8pgPtToozEUYTJNzVxakto/u2KL/ X-Received: by 2002:aa7:8102:: with SMTP id b2mr45807996pfi.105.1560135561169; Sun, 09 Jun 2019 19:59:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560135561; cv=none; d=google.com; s=arc-20160816; b=lM4HI9DZNE65n7u0RgAF9sg+nlTjdh0ElAtrU5D1cs0gn/gaERg0rkLqrAWr8NzAXE AFF0eWAMGgJcfF1/wCWC9yUpoBicG0Qh5YgeXZ++Y4WNo2Zp5b8TcKzlu9nLNg4V6cFY qG+6VtUz/MFXUWFV8MnV0Zue64EdffD4KVi1xgBrxRsh6WNzCo1zN1/jd25PAuyzAVcu gIefu690pqFIDYSGOvDh67wf0hIgCEAIKN73QMFAwClyKKCxLIFlwgUU2LNEehcTyFVe jvbjEvcf53T4XlMihLRzTwVQPuPe0Uxyv9W439Mko0b7E1F1Zn96O6skgBTEkd2W5uYI m5OA== 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 :references:in-reply-to:from:subject:cc:to:message-id:date; bh=cH8t2HaUdxt2IfD4wb/SeqSgyk4WfSjvuWJ5mCORe+c=; b=dBeukHfn/PRRnlPmHg9s/2QJDVuvB0u4iuWIHxb/rEH+Hu6kJ5k+HEAXF6pT7aY9hV xWbGi9GPJTDg4zhaH8yaja+Xd4u8TCwYnwgfz2XAbGrUF+HyYvxdNIUHDosc3R86P+g9 YKFNO0GB3L6SZyXiakS6tkY/hq1KlE7lA7sFibZiLSp95SSH79FWnVXED5q8QdY1GGju WPEL5/rWi7XIQj54WVvdHiPAGlb9MLucICmAF9dPVC/tcoVb78QmEiWHBi/AGtZTNakM CvoXVSd4K3yLV8Ef0s69a0sy2iEOOGviBiPaBkHVGhLZ41rnh9m7FU8pldwyb/9ojpxh TG6w== ARC-Authentication-Results: i=1; mx.google.com; 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 w61si9498065plb.319.2019.06.09.19.59.05; Sun, 09 Jun 2019 19:59:21 -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; 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 S1730477AbfFJC45 (ORCPT + 99 others); Sun, 9 Jun 2019 22:56:57 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:48940 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726460AbfFJC45 (ORCPT ); Sun, 9 Jun 2019 22:56:57 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::3d5]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id A5C1C14EAF62A; Sun, 9 Jun 2019 19:56:56 -0700 (PDT) Date: Sun, 09 Jun 2019 19:56:56 -0700 (PDT) Message-Id: <20190609.195656.1117192578245223571.davem@davemloft.net> To: hariprasad.kelam@gmail.com Cc: steffen.klassert@secunet.com, herbert@gondor.apana.org.au, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] af_key: make use of BUG_ON macro From: David Miller In-Reply-To: <20190608090050.GA8339@hari-Inspiron-1545> References: <20190608090050.GA8339@hari-Inspiron-1545> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sun, 09 Jun 2019 19:56:56 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hariprasad Kelam Date: Sat, 8 Jun 2019 14:30:50 +0530 > fix below warnings reported by coccicheck > > net/key/af_key.c:932:2-5: WARNING: Use BUG_ON instead of if condition > followed by BUG. > net/key/af_key.c:948:2-5: WARNING: Use BUG_ON instead of if condition > followed by BUG. > > Signed-off-by: Hariprasad Kelam Applied to net-next.