From patchwork Sat Apr 19 00:13:46 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ryan Desfosses X-Patchwork-Id: 4018981 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: X-Original-To: patchwork-linux-pci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B3DC19F369 for ; Sat, 19 Apr 2014 00:15:25 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F363F20383 for ; Sat, 19 Apr 2014 00:15:24 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 523EA20380 for ; Sat, 19 Apr 2014 00:15:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754664AbaDSAOw (ORCPT ); Fri, 18 Apr 2014 20:14:52 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:54362 "EHLO relay4-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754564AbaDSAOc (ORCPT ); Fri, 18 Apr 2014 20:14:32 -0400 Received: from mfilter8-d.gandi.net (mfilter8-d.gandi.net [217.70.178.137]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 2E4B8172092; Sat, 19 Apr 2014 02:14:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter8-d.gandi.net Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by mfilter8-d.gandi.net (mfilter8-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id 5u8VeuJ2pZEx; Sat, 19 Apr 2014 02:14:29 +0200 (CEST) X-Originating-IP: 76.119.93.133 Received: from localhost.localdomain (c-76-119-93-133.hsd1.ct.comcast.net [76.119.93.133]) (Authenticated sender: ryan@desfo.org) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 3175D172091; Sat, 19 Apr 2014 02:14:28 +0200 (CEST) From: Ryan Desfosses To: bhelgaas@google.com Cc: trivial@kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Ryan Desfosses Subject: [PATCH 1/8] ats: removed parentheses after return Date: Fri, 18 Apr 2014 20:13:46 -0400 Message-Id: <1397866433-21119-2-git-send-email-ryan@desfo.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1397866433-21119-1-git-send-email-ryan@desfo.org> References: <1397866433-21119-1-git-send-email-ryan@desfo.org> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 change made to resolve following checkpatch message: ERROR: return is not a function, parentheses are not required branch: Linux 3.15-rc1 Signed-off-by: Ryan Desfosses --- drivers/pci/ats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/ats.c b/drivers/pci/ats.c index a8099d4..d653182 100644 --- a/drivers/pci/ats.c +++ b/drivers/pci/ats.c @@ -369,7 +369,7 @@ int pci_max_pasids(struct pci_dev *pdev) supported = (supported & PASID_NUMBER_MASK) >> PASID_NUMBER_SHIFT; - return (1 << supported); + return 1 << supported; } EXPORT_SYMBOL_GPL(pci_max_pasids); #endif /* CONFIG_PCI_PASID */