From patchwork Wed Mar 9 05:49:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iyappan Subramanian X-Patchwork-Id: 8542381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 0C939C0553 for ; Wed, 9 Mar 2016 05:51:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 38D3020254 for ; Wed, 9 Mar 2016 05:51:22 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5A3982011B for ; Wed, 9 Mar 2016 05:51:21 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1adX0U-0000Fo-3Y; Wed, 09 Mar 2016 05:50:02 +0000 Received: from mail-pa0-x229.google.com ([2607:f8b0:400e:c03::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1adX06-0008UN-Mt for linux-arm-kernel@lists.infradead.org; Wed, 09 Mar 2016 05:49:40 +0000 Received: by mail-pa0-x229.google.com with SMTP id fe3so14682710pab.1 for ; Tue, 08 Mar 2016 21:49:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apm.com; s=apm; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C0YbJks3m/zImMJk4vIW65ot0IG0PqH/ELjpkbtBVrU=; b=jlfyW0qju+4y8UpKvWRnW8cSokfiDkCRYsOcSeN50GlaC9i3ItTn0BYUqC/lIU65ll uX/EGp+bTDLPXFEUH7r5DLvI438xru/4IIigdaD8oM6rDRrJqV/FM0xhimRHTTzJcLYs Kc6pnzWMPvlwWxOz4keODYnc22H26G9/VHphA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=C0YbJks3m/zImMJk4vIW65ot0IG0PqH/ELjpkbtBVrU=; b=K9EghLKt+GleiEtSjapweqATIsSf5yELvwAT+C+rBLbtJf+YaJfRO9veJ4m9NDEwgA Job7+pkfqdZTUQKZbypLH+rSiJKSmplpN7WJ4yZK6znZzCvEp1Cw4//mRMyJZN8G0uUg HpsPklnVZIQAlPeiVVyYkJQgvr/NE2jYv6EgWx5NtOg1bHOWy8ryUwO5HIIVLkQHex+X jiSwjXSjeK0UZvPnnF9xrac1B27I8znXAcuCuhyrS09xOaFmtkzSZSBL5YMNHRWtsjUw 20wGDD6P/mhm0u0O8wTYC9oklGlxN2u0gJkYK8mZesd3bnAnehNEOVTSJhv5ZhuYxNgX O5sw== X-Gm-Message-State: AD7BkJI8T4CJnxU09HXjwRLeGBKYOFaThYUie4tbahqEuVHUfR8NOLixnLEq1CWKF6ti8yxm X-Received: by 10.66.160.7 with SMTP id xg7mr47157413pab.10.1457502558207; Tue, 08 Mar 2016 21:49:18 -0800 (PST) Received: from isubrama-dev.amcc.com ([206.80.4.98]) by smtp.gmail.com with ESMTPSA id ac1sm8959507pad.41.2016.03.08.21.49.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Mar 2016 21:49:17 -0800 (PST) From: Iyappan Subramanian To: davem@davemloft.net, netdev@vger.kernel.org Subject: [PATCH 2/2] drivers: net: xgene: fix: Remove IRQF_SHARED flag Date: Tue, 8 Mar 2016 21:49:37 -0800 Message-Id: <1457502577-2606-3-git-send-email-isubramanian@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1457502577-2606-1-git-send-email-isubramanian@apm.com> References: <1457502577-2606-1-git-send-email-isubramanian@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160308_214939_097234_83DFBBCA X-CRM114-Status: GOOD ( 10.94 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: toanle@apm.com, patches@apm.com, linux-arm-kernel@lists.infradead.org, Iyappan Subramanian MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Not allowing sharing of IRQs. Signed-off-by: Iyappan Subramanian Tested-by: Toan Le --- drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c index 0878aec..f68c187 100644 --- a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c +++ b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c @@ -630,7 +630,7 @@ static int xgene_enet_register_irq(struct net_device *ndev) ring = pdata->rx_ring[i]; irq_set_status_flags(ring->irq, IRQ_DISABLE_UNLAZY); ret = devm_request_irq(dev, ring->irq, xgene_enet_rx_irq, - IRQF_SHARED, ring->irq_name, ring); + 0, ring->irq_name, ring); if (ret) { netdev_err(ndev, "Failed to request irq %s\n", ring->irq_name); @@ -641,7 +641,7 @@ static int xgene_enet_register_irq(struct net_device *ndev) ring = pdata->tx_ring[i]->cp_ring; irq_set_status_flags(ring->irq, IRQ_DISABLE_UNLAZY); ret = devm_request_irq(dev, ring->irq, xgene_enet_rx_irq, - IRQF_SHARED, ring->irq_name, ring); + 0, ring->irq_name, ring); if (ret) { netdev_err(ndev, "Failed to request irq %s\n", ring->irq_name);