From patchwork Sun Jan 31 00:37:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 8172551 Return-Path: X-Original-To: patchwork-linux-rdma@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 D3DB8BEEE5 for ; Sun, 31 Jan 2016 00:39:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1995120320 for ; Sun, 31 Jan 2016 00:39:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0B23D202F0 for ; Sun, 31 Jan 2016 00:39:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932644AbcAaAiz (ORCPT ); Sat, 30 Jan 2016 19:38:55 -0500 Received: from mga01.intel.com ([192.55.52.88]:11857 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932134AbcAaAif (ORCPT ); Sat, 30 Jan 2016 19:38:35 -0500 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga101.fm.intel.com with ESMTP; 30 Jan 2016 16:38:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,372,1449561600"; d="scan'208";a="892905284" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga001.fm.intel.com with ESMTP; 30 Jan 2016 16:38:31 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1aPg26-000Odg-1U; Sun, 31 Jan 2016 08:38:26 +0800 Date: Sun, 31 Jan 2016 08:37:39 +0800 From: kbuild test robot To: Parav Pandit Cc: kbuild-all@01.org, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rdma@vger.kernel.org, tj@kernel.org, lizefan@huawei.com, hannes@cmpxchg.org, dledford@redhat.com, liranl@mellanox.com, sean.hefty@intel.com, jgunthorpe@obsidianresearch.com, haggaie@mellanox.com, corbet@lwn.net, james.l.morris@oracle.com, serge@hallyn.com, ogerlitz@mellanox.com, matanb@mellanox.com, raindel@mellanox.com, akpm@linux-foundation.org, linux-security-module@vger.kernel.org, pandit.parav@gmail.com Subject: [PATCH] rdmacg: fix semicolon.cocci warnings Message-ID: <20160131003739.GA19935@lkp-nex05> References: <201601310851.uY7ukvCn%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1454192901-31003-2-git-send-email-pandit.parav@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-6.9 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 kernel/cgroup_rdma.c:787:2-3: Unneeded semicolon kernel/cgroup_rdma.c:611:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Parav Pandit Signed-off-by: Fengguang Wu --- cgroup_rdma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/kernel/cgroup_rdma.c +++ b/kernel/cgroup_rdma.c @@ -608,7 +608,7 @@ static enum rdmacg_resource_pool_type of default: pool_type = RDMACG_RESOURCE_POOL_HW; break; - }; + } return pool_type; } @@ -784,7 +784,7 @@ static int get_resource_val(struct rdmac default: val = 0; break; - }; + } return val; }