From patchwork Fri May 30 15:40:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Himangi Saraogi X-Patchwork-Id: 354240 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 368E1140087 for ; Sat, 31 May 2014 01:41:51 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933580AbaE3PlT (ORCPT ); Fri, 30 May 2014 11:41:19 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:51230 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932126AbaE3PlP (ORCPT ); Fri, 30 May 2014 11:41:15 -0400 Received: by mail-pd0-f169.google.com with SMTP id w10so1071810pde.14 for ; Fri, 30 May 2014 08:41:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=24sw5s1KjPWXd8Apquenh0GmrcbQHNfD4Oz/sRKlpFA=; b=QGQ+ujJLUq1Mm5g7ipt9cEnL3XZEFcVSfx3LK8HbJTVVr6b5SUps5JxQDxMN6wmp0f Yl8q6CxNl/isLriCwliGTau/DfvWQ8bSau3Qmt0LY8fNZxzvrwpZh4vTSCqIkACF2/4W b3p72xyAnkM9yH/4p0HqefDJIESl4tbOdyVqJ8aIsIT3BiX2DWrz3xOtYCU7gYhBqHY5 CP0mC8glz+G649jRldTDxLd8BlMd0C7c03tVzUgzcqK4t376WDim+/I9FmOEWwPzjYA7 eRW5G1tPyo/WU/G6j8J/aZwa4B2W2o4k2RATQ0cVYjPj5ZqFMJNlbvojb1rX0mEgi/pg iTXQ== X-Received: by 10.68.237.133 with SMTP id vc5mr19699395pbc.92.1401464475066; Fri, 30 May 2014 08:41:15 -0700 (PDT) Received: from localhost ([122.178.72.100]) by mx.google.com with ESMTPSA id zv3sm20320191pab.20.2014.05.30.08.41.02 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 30 May 2014 08:41:14 -0700 (PDT) Date: Fri, 30 May 2014 21:10:48 +0530 From: Himangi Saraogi To: "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki YOSHIFUJI , Patrick McHardy , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: julia.lawall@lip6.fr Subject: [PATCH] ipmr: Replace comma with semicolon Message-ID: <20140530154048.GA3949@himangi-Dell> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org This patch replaces a comma between expression statements by a semicolon. A simplified version of the semantic patch that performs this transformation is as follows: // @r@ expression e1,e2,e; type T; identifier i; @@ e1 -, +; e2; // Signed-off-by: Himangi Saraogi --- net/ipv4/ipmr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/ipv4/ipmr.c b/net/ipv4/ipmr.c index d84dc8d..2bc9cc4 100644 --- a/net/ipv4/ipmr.c +++ b/net/ipv4/ipmr.c @@ -484,7 +484,7 @@ static void reg_vif_setup(struct net_device *dev) dev->type = ARPHRD_PIMREG; dev->mtu = ETH_DATA_LEN - sizeof(struct iphdr) - 8; dev->flags = IFF_NOARP; - dev->netdev_ops = ®_vif_netdev_ops, + dev->netdev_ops = ®_vif_netdev_ops; dev->destructor = free_netdev; dev->features |= NETIF_F_NETNS_LOCAL; }