From patchwork Wed Jun 7 20:26:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 9772781 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AD5066034B for ; Wed, 7 Jun 2017 20:26:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9AA5D28537 for ; Wed, 7 Jun 2017 20:26:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E3B32848D; Wed, 7 Jun 2017 20:26:46 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B60992848D for ; Wed, 7 Jun 2017 20:26:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751445AbdFGU0o (ORCPT ); Wed, 7 Jun 2017 16:26:44 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:38709 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412AbdFGU0n (ORCPT ); Wed, 7 Jun 2017 16:26:43 -0400 X-IronPort-AV: E=Sophos;i="5.39,311,1493676000"; d="scan'208";a="227567236" Received: from 198.67.28.109.rev.sfr.net (HELO hadrien) ([109.28.67.198]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 07 Jun 2017 22:26:40 +0200 Date: Wed, 7 Jun 2017 22:26:40 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Matan Barak cc: kbuild-all@01.org, Leon Romanovsky , Yishai Hadas , Doug Ledford , Sean Hefty , Hal Rosenstock , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] IB/core: fix semicolon.cocci warnings Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Matan Barak Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- uverbs_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 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/drivers/infiniband/core/uverbs_ioctl.c +++ b/drivers/infiniband/core/uverbs_ioctl.c @@ -114,7 +114,7 @@ static int uverbs_process_attr(struct ib break; default: return -EOPNOTSUPP; - }; + } set_bit(attr_id, attr_array->valid_bitmap); return 0;