From patchwork Mon Sep 21 15:39:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geliang Tang X-Patchwork-Id: 7232231 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 AD3D6BEEC1 for ; Mon, 21 Sep 2015 15:41:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C669E205DF for ; Mon, 21 Sep 2015 15:40:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A67602055B for ; Mon, 21 Sep 2015 15:40:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756292AbbIUPk4 (ORCPT ); Mon, 21 Sep 2015 11:40:56 -0400 Received: from m50-132.163.com ([123.125.50.132]:39183 "EHLO m50-132.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756162AbbIUPk4 (ORCPT ); Mon, 21 Sep 2015 11:40:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=ji/D06B/ToWNjdFLiz 2vhOpr/6WuJpKtId6/AlJhwUo=; b=pj9iOL3XW/LC2zknkJjEcXT63+kKmNZtWx 7fsV1K7M+ezcnd3VmdKk3cpLkdZhoMJLu5Hq+wFrfw0huG9RSjAWEIJAKhySIiPf ejvn9BiONzjcE7BLgUwMfU9SGbEJ4Z4k+Sd6wfNECfrJcneDdLezsV/Fhaath0ig qH6UjCpzQ= Received: from localhost (unknown [116.77.141.222]) by smtp2 (Coremail) with SMTP id DNGowECJ5mStJABWbxF1AQ--.30473S3; Mon, 21 Sep 2015 23:39:27 +0800 (CST) From: Geliang Tang To: Doug Ledford , Sean Hefty , Hal Rosenstock , Greg Kroah-Hartman , Mike Marciniszyn , Steve Wise Cc: Geliang Tang , linux-rdma@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rdma: add a blank line after function Date: Mon, 21 Sep 2015 23:39:08 +0800 Message-Id: <43f0dc92984109a1953848fa5c6546e3ffb34ad5.1442849672.git.geliangtang@163.com> X-Mailer: git-send-email 2.5.0 X-CM-TRANSID: DNGowECJ5mStJABWbxF1AQ--.30473S3 X-Coremail-Antispam: 1Uf129KBjvJXoW7WrW7Gw45AF18Aw4ktF45trb_yoW8Kryfpw 4Fy34DCr90yF13W3WDGa4xAFy3Ca4xuryv9a4DGwsYvF18XF93Xr1rtFWjqr4qqryfAw4a vF48GrW8u3WUJrUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07UAxhLUUUUU= X-Originating-IP: [116.77.141.222] X-CM-SenderInfo: 5jhoxtpqjwt0rj6rljoofrz/xtbByhB8mVO+eumcTAAAsR 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.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, FREEMAIL_FROM,RCVD_IN_DNSWL_HI,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 Fixed warnings found by checkpatch.pl: Please use a blank line after function/struct/union/enum declarations FILE: drivers/staging/rdma/amso1100/c2_mq.c:158: FILE: drivers/staging/rdma/hfi1/file_ops.c:2069: FILE: drivers/staging/rdma/hfi1/sdma.c:744: FILE: drivers/staging/rdma/hfi1/verbs.c:1202: Signed-off-by: Geliang Tang --- drivers/staging/rdma/amso1100/c2_mq.c | 1 + drivers/staging/rdma/hfi1/file_ops.c | 1 + drivers/staging/rdma/hfi1/sdma.c | 1 + drivers/staging/rdma/hfi1/verbs.c | 1 + 4 files changed, 4 insertions(+) diff --git a/drivers/staging/rdma/amso1100/c2_mq.c b/drivers/staging/rdma/amso1100/c2_mq.c index 0cddc49..7827fb8 100644 --- a/drivers/staging/rdma/amso1100/c2_mq.c +++ b/drivers/staging/rdma/amso1100/c2_mq.c @@ -155,6 +155,7 @@ void c2_mq_req_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, q->hint_count = 0; return; } + void c2_mq_rep_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, u8 *pool_start, u16 __iomem *peer, u32 type) { diff --git a/drivers/staging/rdma/hfi1/file_ops.c b/drivers/staging/rdma/hfi1/file_ops.c index 72d3850..9a77221 100644 --- a/drivers/staging/rdma/hfi1/file_ops.c +++ b/drivers/staging/rdma/hfi1/file_ops.c @@ -2066,6 +2066,7 @@ static const struct file_operations ui_file_ops = { .open = ui_open, .release = ui_release, }; + #define UI_OFFSET 192 /* device minor offset for UI devices */ static int create_ui = 1; diff --git a/drivers/staging/rdma/hfi1/sdma.c b/drivers/staging/rdma/hfi1/sdma.c index aecd1a7..78d016b 100644 --- a/drivers/staging/rdma/hfi1/sdma.c +++ b/drivers/staging/rdma/hfi1/sdma.c @@ -741,6 +741,7 @@ u16 sdma_get_descq_cnt(void) return SDMA_DESCQ_CNT; return count; } + /** * sdma_select_engine_vl() - select sdma engine * @dd: devdata diff --git a/drivers/staging/rdma/hfi1/verbs.c b/drivers/staging/rdma/hfi1/verbs.c index 41bb59e..a43fccd 100644 --- a/drivers/staging/rdma/hfi1/verbs.c +++ b/drivers/staging/rdma/hfi1/verbs.c @@ -1199,6 +1199,7 @@ pio_bail: } return 0; } + /* * egress_pkey_matches_entry - return 1 if the pkey matches ent (ent * being an entry from the ingress partition key table), return 0