From patchwork Fri Oct 14 08:18:39 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anjandev Momi X-Patchwork-Id: 2575 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp64032wrs; Fri, 14 Oct 2022 01:26:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM73BJiLXk8lFNsiEnMzIC7KN8vRdHAMgIf4xA4Hklt46FrzO3IZB2oIBBi+au13J06FH2b4 X-Received: by 2002:a17:907:7d8f:b0:782:3481:3d0d with SMTP id oz15-20020a1709077d8f00b0078234813d0dmr2752963ejc.74.1665735972430; Fri, 14 Oct 2022 01:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665735972; cv=none; d=google.com; s=arc-20160816; b=Mo4Uhc7qLMFgo5zG7rAWlsWkqaYiN3RxDZPhKRaDxeQ2ytCkfUwlfG/Lhg+7CCq7y1 DlO+FgBAwTaSNsKKMqvEMlVW9AlNlGrZo38TezSfoftyVKBDGpYI74r+BmLAE/Kda5A1 SpKEv3DHR7Xwy5yCrJ2GMLKPVBMNRWm1hxI7WclogIr2ClI0Biu+1f9pHGSDAEhU8lY0 EIY619EL3QoASnoHOzFF6P9CBmRAz3xkwPdnU+Tt5E02Bzn8hV71p87Gb6zI+AvvZTrD 8176IyhZI5dwOv4oxxb1jUfOyFf+Vxg1wc80kswbSlQZli63wInsSCtkEtiR1dizcZ0o 2Q3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=C5ZEHK9P/ZG0BqPTjgVcsSPihw9Ksc6WFf5Jc3M19kI=; b=FNTwH2x186LZqqXQUOPtHe7gWFiAhawzO8Gy/NF4U9KaYxYilOBVTruUmSXa3RQc0g PCKPWiiQcr1WaOJUI/wmRUnfGLFCnEhiCkd2nx8yFNekdUdw6OhEx3x2mPatV/bx63V5 +rwvkRwgdGnKTgdRmnN0IuT3NQND0z8v6HUkb8vFCGtEdbUS+I0dJr6d0pYtQAaU7ao4 +IF4GXqm156rDDxVzTXWyQG3zBYgLfrfGfs/IygD35WJvrRjxxs6bi2Mdr0hSW52xa4a VWJGFJXzPvfjUOl8hVrmDrvhzq8bIPTWYBMoKQ5+SIW+Mtkge0klZVk+TI6mqhFzUwpS RsrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@momi.ca header.s=key1 header.b="fvEpm/UN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=momi.ca Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g5-20020a056402320500b0045c9c9d2558si1876390eda.247.2022.10.14.01.25.46; Fri, 14 Oct 2022 01:26:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@momi.ca header.s=key1 header.b="fvEpm/UN"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=momi.ca Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230004AbiJNIUQ (ORCPT + 99 others); Fri, 14 Oct 2022 04:20:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230000AbiJNIUN (ORCPT ); Fri, 14 Oct 2022 04:20:13 -0400 Received: from out0.migadu.com (out0.migadu.com [94.23.1.103]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B8C27C325 for ; Fri, 14 Oct 2022 01:20:09 -0700 (PDT) X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=momi.ca; s=key1; t=1665735607; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=C5ZEHK9P/ZG0BqPTjgVcsSPihw9Ksc6WFf5Jc3M19kI=; b=fvEpm/UNqh96B87kriDrg4upSvkKWMijzBB4rYj0U8TFR56UmAh9TNvrWSkdUtKvxWGLGQ QtFCY61K4zG7QseFDrExg+YQ9la54vKvxR8uAziAkSMcI3gxlZmBs570fgL1sWQr2kdCZc ODrfv67poI4OUxHGZgNgGWPgfEnWX8ybOj0dU/tQ8HGPJIvdV2+oKDA5jpblkY65TUOSXh hq+ZTvU2RNQt2wDGEpFtqHL2HSjeZGge9+9qigGRL4UdBf3e+VjgzJeS3xM7wDOc0bFRHm 4WSDJTapCZ/cRz+/OGlyb5JM2bihRDKbX3xx0mrILowkZm4BqtnC24EozgpJ3w== From: Anjandev Momi To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Anjandev Momi Subject: [PATCH 3/4] Staging: rtl8192e: make alignment match open parenthesis Date: Fri, 14 Oct 2022 01:18:39 -0700 Message-Id: <20221014081839.23902-4-anjan@momi.ca> In-Reply-To: <20221014081839.23902-1-anjan@momi.ca> References: <20221014081839.23902-1-anjan@momi.ca> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1746650763400755733?= X-GMAIL-MSGID: =?utf-8?q?1746650763400755733?= This patch removes the following checks generated by checkpatch.pl: ./drivers/staging/rtl8192e/rtl819x_BAProc.c:261: CHECK: Alignment should match open parenthesis ./drivers/staging/rtl8192e/rtl819x_BAProc.c:284: CHECK: Alignment should match open parenthesis ./drivers/staging/rtl8192e/rtl819x_BAProc.c:421: CHECK: Alignment should match open parenthesis ./drivers/staging/rtl8192e/rtl819x_BAProc.c:441: CHECK: Alignment should match open parenthesis Signed-off-by: Anjandev Momi --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index f36c24c2a..8d92b3426 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -258,7 +258,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) goto OnADDBAReq_Fail; } if (!GetTs(ieee, (struct ts_common_info **)&pTS, dst, - (u8)(pBaParamSet->field.tid), RX_DIR, true)) { + (u8)(pBaParamSet->field.tid), RX_DIR, true)) { rc = ADDBA_STATUS_REFUSED; netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__); goto OnADDBAReq_Fail; @@ -281,7 +281,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) pBA->ba_start_seq_ctrl = *pBaStartSeqCtrl; if (ieee->GetHalfNmodeSupportByAPsHandler(ieee->dev) || - (ieee->pHTInfo->IOTAction & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) + (ieee->pHTInfo->IOTAction & HT_IOT_ACT_ALLOW_PEER_AGG_ONE_PKT)) pBA->ba_param_set.field.buffer_size = 1; else pBA->ba_param_set.field.buffer_size = 32; @@ -418,7 +418,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) } if (!ieee->current_network.qos_data.active || - !ieee->pHTInfo->bCurrentHTSupport) { + !ieee->pHTInfo->bCurrentHTSupport) { netdev_warn(ieee->dev, "received DELBA while QOS or HT is not supported(%d, %d)\n", ieee->current_network. qos_data.active, @@ -438,7 +438,7 @@ int rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) struct rx_ts_record *pRxTs; if (!GetTs(ieee, (struct ts_common_info **)&pRxTs, dst, - (u8)pDelBaParamSet->field.tid, RX_DIR, false)) { + (u8)pDelBaParamSet->field.tid, RX_DIR, false)) { netdev_warn(ieee->dev, "%s(): can't get TS for RXTS. dst:%pM TID:%d\n", __func__, dst,