Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2442333imm; Sun, 5 Aug 2018 04:31:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcOnwsIaCFhkMcYy/p4KeSySBRvrkr0YAqFfS5K/bWAagNHg3ow7bt+KlxcanR4Tnoz1VZ4 X-Received: by 2002:a62:f0d:: with SMTP id x13-v6mr12425899pfi.123.1533468665248; Sun, 05 Aug 2018 04:31:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533468665; cv=none; d=google.com; s=arc-20160816; b=QUF86lUTlOByUwLYp2tmIIDt7TMmxXwNNfH0vrN6c5ogfc8PWickqDMFQBCD211CzA zwaG/GgzicNJClQEYuNoiBGQFAKXwbU0JFUvywBLFi4xm24H79Kb9gZ2Lbpf2WzQtbfo M49E8PR80KkgY4ZFDe2C8g/+gBRxPv7VZTlFTCaHew/pXC1QkqkB1CCWt+pYY0C9dvn+ ZZKTB99TM3zcipylIodZDMtNU0bz01emLL1+iK+uByF8He2bkF83LkAqFTHxa6kaVh3x i84rdc19a182oDVt5w7YxiULhGGczKx5Ri1L3PeG/d3mTERAqF7J6S4LyIm84F7ow1C9 T4iw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=BVkBApd5G5Moc32b/kOk/x8xpCJ4paLnsG5j0MXNmmc=; b=ucq9jGJNiog5cQu5x6/ECCo2IhoRSvaMdawGVQZ6HjiduNXhWe+DthjnRlRr3sDJps fMFWtX7HfK4BDmgKtqOoVJxd02k3/j0tNDd5DacIYtG8LSrY/9SDkGcR9wHroMBWfe1d IA/XSWC6dHsKXAnAvFt2YI06G+3xQ6VH9DrKJYS/JhlniT2T4XfYCLW8f5oYH1ElqPPZ o7b7Xc8QV654i4zRkqGRTp+akQMNuBqNdlFSbRtKdkI8g1/19BVTd7t+8s7cQ0+HM+65 BXs68TdFoCYAgKGDW6tBRq5Bj1bBsLM2Mebb21fx37vt4savkiIxvn46btqKJ52+ebB7 KbMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rVt/9+uQ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a5-v6si7643765plh.312.2018.08.05.04.30.49; Sun, 05 Aug 2018 04:31:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="rVt/9+uQ"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726204AbeHENeR (ORCPT + 99 others); Sun, 5 Aug 2018 09:34:17 -0400 Received: from mail-pl0-f65.google.com ([209.85.160.65]:38655 "EHLO mail-pl0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726091AbeHENeR (ORCPT ); Sun, 5 Aug 2018 09:34:17 -0400 Received: by mail-pl0-f65.google.com with SMTP id u11-v6so4438445plq.5 for ; Sun, 05 Aug 2018 04:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=BVkBApd5G5Moc32b/kOk/x8xpCJ4paLnsG5j0MXNmmc=; b=rVt/9+uQDCzjEO9AymZ/MptCarKiRMI16Maa0bSCswVtGnZYI6bXw5Yovg5vXTe2Xb GNISWJULYCUXhNhAS8g07BHo7H2voXPGCzj7UILTS09S0+uRsuxMbpDeHZqnWzQgP5C/ JzDzzYM1jBsLXcf+hWxD40iMbrOqrt5dfqIhXsE1POVyYVPhxtjGSA33ZCgzrl8bF6GU NWCpdgWGVXHKQx+r8STixQoCrTs/8xxgmrh5uAl69e8ITuLejLrtkA02wk7f9oqehE7x pAMepF8kS4SWLlez8zG3gD3riflQPzePyarp+4kzMmFLHy8+dIGtjFz0q2IzgV6z3TmS iVRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=BVkBApd5G5Moc32b/kOk/x8xpCJ4paLnsG5j0MXNmmc=; b=UUAXKe9O5ajO7X7H5xPKMBFPAD9HLexMbLRu3vStj56wjki3h8NQCTgC4A0qu/jvmM eIvseYRjHDu41ayOSSsbpqieSewjW26iWxOd2Yl903lHRmg2c9Ma4zQ2Envz5plyW887 7ZNmQGbP2izQ99MvSIPbi0okpgP9bAaKUPLUex368UwSAsAoGWvUiFd/G6lvWsG/Mn/X 9qFGHrDNBKJIE2OF+Qj2XtxZZ5qiQkESzmsbVCz2nFrR9uDt3S2dQQb3rxUZtXbny9/U xdC0XPXD0C/tm8zMpI8Wo+pvpJxQlQ0XkeIYnT5BbR1DM8CVM0Y8xuO9T8fBzrZNCc+v uAgQ== X-Gm-Message-State: AOUpUlGOeOLZJ/rs2n4ln+cE27947zAlzhOjhm3DIaUDNgFy3JOQ/e6C aSHlFyVwr0T+8JBkEFeuWYk= X-Received: by 2002:a17:902:bcc6:: with SMTP id o6-v6mr10135127pls.117.1533468601773; Sun, 05 Aug 2018 04:30:01 -0700 (PDT) Received: from zenus ([106.51.26.178]) by smtp.gmail.com with ESMTPSA id e73-v6sm19546102pfb.153.2018.08.05.04.29.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 05 Aug 2018 04:30:00 -0700 (PDT) Date: Sun, 5 Aug 2018 16:59:55 +0530 From: Sohil Ladhani To: Greg Kroah-Hartman , Larry Finger , Kees Cook , Julia Lawall , Nathan Chancellor , Ping-Ke Shih , Arushi Singhal Cc: "Frank A. Cancio Bello" , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Sohil Ladhani Subject: [PATCH v2] Staging: rtlwifi: base: Modified the line ending with a parenthesis Message-ID: <20180805112950.GA13740@zenus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch fixes the "Lines should not end with a '('" warning reported by checkpatch.pl script. The line containing 'rtl_mrate_idx_to_arfr_id' function previously ended with '(', which did not conform to the linux kernel coding style. Signed-off-by: Sohil Ladhani --- Changes in v2: - Made the commit message more clearer drivers/staging/rtlwifi/base.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtlwifi/base.c b/drivers/staging/rtlwifi/base.c index 094827c1879a..654aa4e068ba 100644 --- a/drivers/staging/rtlwifi/base.c +++ b/drivers/staging/rtlwifi/base.c @@ -685,9 +685,8 @@ static void _rtl_query_protection_mode(struct ieee80211_hw *hw, } } -u8 rtl_mrate_idx_to_arfr_id( - struct ieee80211_hw *hw, u8 rate_index, - enum wireless_mode wirelessmode) +u8 rtl_mrate_idx_to_arfr_id(struct ieee80211_hw *hw, u8 rate_index, + enum wireless_mode wirelessmode) { struct rtl_priv *rtlpriv = rtl_priv(hw); struct rtl_phy *rtlphy = &rtlpriv->phy; -- 2.18.0