From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julia Lawall Subject: Re: [PATCH] macvtap: fix bugon.cocci warnings Date: Wed, 8 Jun 2016 22:59:12 +0200 (CEST) Message-ID: References: <20160608.113026.1097988313259161320.davem@davemloft.net> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: julia.lawall@lip6.fr, rppt@linux.vnet.ibm.com, mst@redhat.com, netdev@vger.kernel.org, virtualization@lists.linux-foundation.org To: David Miller Return-path: Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:18406 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161792AbcFHU7Q (ORCPT ); Wed, 8 Jun 2016 16:59:16 -0400 In-Reply-To: <20160608.113026.1097988313259161320.davem@davemloft.net> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 8 Jun 2016, David Miller wrote: > From: Julia Lawall > Date: Wed, 8 Jun 2016 18:15:29 +0200 (CEST) > > > Use BUG_ON instead of a if condition followed by BUG. > > > > Generated by: scripts/coccinelle/misc/bugon.cocci > > > > CC: Mike Rapoport > > Signed-off-by: Julia Lawall > > Signed-off-by: Fengguang Wu > > This doesn't apply cleanly to any of my trees. Sorry not to have included the source information. It seems to be from here: https://github.com/0day-ci/linux/commits/Mike-Rapoport/virtio_net-add-_UAPI-prefix-to-virtio_net-header-guards/20160608-211558 julia