From patchwork Tue Feb 23 06:38:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chaehyun Lim X-Patchwork-Id: 8387731 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2A31A9F52D for ; Tue, 23 Feb 2016 06:38:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4D33F20546 for ; Tue, 23 Feb 2016 06:38:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 750372052A for ; Tue, 23 Feb 2016 06:38:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932581AbcBWGi0 (ORCPT ); Tue, 23 Feb 2016 01:38:26 -0500 Received: from mail-pa0-f43.google.com ([209.85.220.43]:33271 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932438AbcBWGiZ (ORCPT ); Tue, 23 Feb 2016 01:38:25 -0500 Received: by mail-pa0-f43.google.com with SMTP id fl4so105056767pad.0 for ; Mon, 22 Feb 2016 22:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=F1rimSiNmEb/Jru4o+v7v5sfOmxXugU9XgNu+CIwnIc=; b=sd46ZBYC89xRtoZWAVGUOJmXQ8uWG+wANkarrhMugojBdQJAcFpDnPI0J0aVfdk2bk pBGsiK0F3dhMglIegZucRPrCA9j2YTm5HZ6jU3B/ThaBouDKmY1wQSGYzJGyENFrNnFN QeWZndZfYJUya0j8rDMkrqnHyiryGTOyaTX0jb4UalzIQiDNvm3s8WAygbw3hH577D27 c/Z9f4gB5W2SCI4wg12Vzu+HuXw3SroNNYtWuu060GHt6/O7tGXqnph4yBNgZFHpMdJ6 Eg5bcSVZmeZGbSV9RXbljEy48efSPYcdJMLxOY6rSAz3tSoB/oeJLNbv5QF5817E7npG QDqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=F1rimSiNmEb/Jru4o+v7v5sfOmxXugU9XgNu+CIwnIc=; b=mH2+YRebTAaN3e6ZLMLwb6rCfaqA4/o5CVDZdQQ5abjMpEvolfAOBCJ8FJ+rARXfQh DYCPYMUwobFwBSH7DcONreqc4rxY3WWkHv/TCYd7zLarG5wEdVqEGVrzUO+2EUadVh97 izFN+kN5XZkUCSbsf/Md8ZmfU+e4txiBU/gbIWLkvjYX9/A+Qn9QPPXi+O0xMVkchW9t gudyFHBA/Faji/1hazTpx2gDmA9BNEl6bxULi+fxE6RIcOxxBMr8z1k3hBjXdSCslN0e xdTRdMkXG/v4beC2lvV2mhVZ0nA4fN0rBelshlPjCKHnV5o+HsOY0ZOWEnj9yLE8QFia ggmg== X-Gm-Message-State: AG10YOS8Chv2gLpIHgmjyo/tG3tvEKU5BjSbJUvk9T/MaR9eGv8zr7Q2bV7gEyRzUoEoDw== X-Received: by 10.66.233.131 with SMTP id tw3mr44656606pac.89.1456209504433; Mon, 22 Feb 2016 22:38:24 -0800 (PST) Received: from localhost.localdomain ([218.233.16.2]) by smtp.gmail.com with ESMTPSA id r68sm41187788pfb.51.2016.02.22.22.38.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 22 Feb 2016 22:38:24 -0800 (PST) From: Chaehyun Lim To: gregkh@linuxfoundation.org Cc: johnny.kim@atmel.com, austin.shin@atmel.com, chris.park@atmel.com, tony.cho@atmel.com, glen.lee@atmel.com, leo.kim@atmel.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, Chaehyun Lim Subject: [PATCH 5/7] staging: wilc1000: handle_cfg_param: fix logical continuations Date: Tue, 23 Feb 2016 15:38:01 +0900 Message-Id: <1456209483-20345-5-git-send-email-chaehyun.lim@gmail.com> X-Mailer: git-send-email 2.7.1 In-Reply-To: <1456209483-20345-1-git-send-email-chaehyun.lim@gmail.com> References: <1456209483-20345-1-git-send-email-chaehyun.lim@gmail.com> Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, 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 This patch fixes logical continuations found by checkpatch CHECK: Logical continuations should be on the previous line Signed-off-by: Chaehyun Lim --- drivers/staging/wilc1000/host_interface.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/staging/wilc1000/host_interface.c b/drivers/staging/wilc1000/host_interface.c index d207c5c..7d36d50 100644 --- a/drivers/staging/wilc1000/host_interface.c +++ b/drivers/staging/wilc1000/host_interface.c @@ -730,12 +730,12 @@ static s32 handle_cfg_param(struct wilc_vif *vif, if (cfg_param_attr->flag & CURRENT_TX_RATE) { enum CURRENT_TXRATE curr_tx_rate = cfg_param_attr->curr_tx_rate; - if (curr_tx_rate == AUTORATE || curr_tx_rate == MBPS_1 - || curr_tx_rate == MBPS_2 || curr_tx_rate == MBPS_5_5 - || curr_tx_rate == MBPS_11 || curr_tx_rate == MBPS_6 - || curr_tx_rate == MBPS_9 || curr_tx_rate == MBPS_12 - || curr_tx_rate == MBPS_18 || curr_tx_rate == MBPS_24 - || curr_tx_rate == MBPS_36 || curr_tx_rate == MBPS_48 || curr_tx_rate == MBPS_54) { + if (curr_tx_rate == AUTORATE || curr_tx_rate == MBPS_1 || + curr_tx_rate == MBPS_2 || curr_tx_rate == MBPS_5_5 || + curr_tx_rate == MBPS_11 || curr_tx_rate == MBPS_6 || + curr_tx_rate == MBPS_9 || curr_tx_rate == MBPS_12 || + curr_tx_rate == MBPS_18 || curr_tx_rate == MBPS_24 || + curr_tx_rate == MBPS_36 || curr_tx_rate == MBPS_48 || curr_tx_rate == MBPS_54) { wid_list[i].id = WID_CURRENT_TX_RATE; wid_list[i].val = (s8 *)&curr_tx_rate; wid_list[i].type = WID_SHORT;