From patchwork Fri Oct 14 08:18:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anjandev Momi X-Patchwork-Id: 2577 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp64354wrs; Fri, 14 Oct 2022 01:27:19 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6LJ+MxBEb3jO9mdgiRwd4Es5ku30wgPmn5CMZO/W645fBv+xx4+rauR04U6TQb2HSYt+Zu X-Received: by 2002:a17:90b:4c86:b0:20d:402d:6155 with SMTP id my6-20020a17090b4c8600b0020d402d6155mr15549126pjb.229.1665736038537; Fri, 14 Oct 2022 01:27:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665736038; cv=none; d=google.com; s=arc-20160816; b=pnR1AQu/6wl0cTorkv9bOEd6Bo1tGNPLpQbyq4O/OBzE5FQm8lk1e0h61xUVbD9cnQ QYGMwUobf1CTltGK8hNjxwAlt/vXLBPnGOdtRUly2NRJsr6w19YPEuzDwBCTi/dgqB6h l4IlRltd39mE8qZVgO9kej15INWp4eoLMgjVBMXzCQQEjTtuqwUBz/BTzFcegNivTzBb 5zeGpUJdTxqd0we6VAeUiompvzaOK/gFVcOIS8A4GwAa3ftF9uTjF6RnCEKtK5d7NihK caJlX/3VKVgOCaZqsOpljO/Yjs60FgFJTnRPLhxaspFHKRv9iFkEMX6V6AM6W1Uki1hV +JUg== 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=tS+unZ61Ew2be46UlZsqdr1CsmOCzbnZoR3P7F47Lbs=; b=U6gyxIYi6UKz2rdO8bm03Bc+uzjw1ze+V+m7yxDfxICSEIrc7WcK9ALHL8ZnSw21mW HGC3HMxt6Lx7UFWu8KD2BBBttGWBQ9p1Ga2OzFhsbCYppbsAEzLDxBk8Nl+XK5xCqMAP gvUBrr8vgg/+WrO+eRtwDwZb799IEmQm+mLlD73B6ol7aelYFO6a+rjW2CTQwWgPYgEG TPCbwDV+L6g7+j8q95Plf+FVLwFRQvmZH38EV7ciwBd8n15JvMhOjCPZUJXVXLT4zp+D pOqznUzGKG+5gQZtU3n6GpM6M2UMg8DbZp+hnoDEV1im2p16LIcheER0fRuZwaqS90SY v7Mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@momi.ca header.s=key1 header.b=TBuVvzpR; 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 18-20020a631452000000b00460f2778437si1840008pgu.366.2022.10.14.01.27.05; Fri, 14 Oct 2022 01:27:18 -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=TBuVvzpR; 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 S229968AbiJNIUA (ORCPT + 99 others); Fri, 14 Oct 2022 04:20:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229808AbiJNIT5 (ORCPT ); Fri, 14 Oct 2022 04:19:57 -0400 Received: from out2.migadu.com (out2.migadu.com [188.165.223.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A29EF36BF5 for ; Fri, 14 Oct 2022 01:19:54 -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=1665735592; 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=tS+unZ61Ew2be46UlZsqdr1CsmOCzbnZoR3P7F47Lbs=; b=TBuVvzpRiCuhI6csA8qTNEqEsiEu/T1+JDblw46EiSFPu+ihly8nh/55ODoHGQSZ8Ac3Ij d8V9VREjUvzm7V/9oFHqoXw3BpXocUO5u0Vu/mVPgxkbCzfRW+7I86TwO8//FQJzqJ0t1q uQFi+zF3T6a5VmXo92QFTzfxUwE+B+sooZps2RDth/BDfZv+y3M/WSpSMuj8DTDSG3vQrB vdu0Y8ziRpcx3ToGHNgwLekAjx3MExwVtL72VJCkRNnc7Svg0R90bja6yhQp0lZuxe9Rso 7GI6R0eDIwn+DRj7NSvkInJ7OuhConl5xMj4bIyo4SMfX+DyvFauWx9LE2V4Aw== From: Anjandev Momi To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Anjandev Momi Subject: [PATCH 1/4] Staging: rtl8192e: remove unnecessary parentheses Date: Fri, 14 Oct 2022 01:18:37 -0700 Message-Id: <20221014081839.23902-2-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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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?1746650832652600725?= X-GMAIL-MSGID: =?utf-8?q?1746650832652600725?= This patch removes the following CHECK generated by checkpatch.pl: ./drivers/staging/rtl8192e/rtl819x_BAProc.c:116: CHECK: Unnecessary parentheses around pBA->ba_start_seq_ctrl ./drivers/staging/rtl8192e/rtl819x_BAProc.c:261: CHECK: Unnecessary parentheses around '&pTS' ./drivers/staging/rtl8192e/rtl819x_BAProc.c:346: CHECK: Unnecessary parentheses around '&pTS' Signed-off-by: Anjandev Momi --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 7d04966af..bd7efb8f1 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -113,7 +113,7 @@ static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst, tag += 2; if (type == ACT_ADDBAREQ) { - memcpy(tag, (u8 *)&(pBA->ba_start_seq_ctrl), 2); + memcpy(tag, (u8 *)&pBA->ba_start_seq_ctrl, 2); tag += 2; } @@ -258,7 +258,7 @@ int rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) ieee->pHTInfo->bCurrentHTSupport); goto OnADDBAReq_Fail; } - if (!GetTs(ieee, (struct ts_common_info **)(&pTS), dst, + if (!GetTs(ieee, (struct ts_common_info **)&pTS, dst, (u8)(pBaParamSet->field.tid), RX_DIR, true)) { rc = ADDBA_STATUS_REFUSED; netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__); @@ -343,7 +343,7 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) goto OnADDBARsp_Reject; } - if (!GetTs(ieee, (struct ts_common_info **)(&pTS), dst, + if (!GetTs(ieee, (struct ts_common_info **)&pTS, dst, (u8)(pBaParamSet->field.tid), TX_DIR, false)) { netdev_warn(ieee->dev, "%s(): can't get TS\n", __func__); ReasonCode = DELBA_REASON_UNKNOWN_BA; From patchwork Fri Oct 14 08:18:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anjandev Momi X-Patchwork-Id: 2574 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp64000wrs; Fri, 14 Oct 2022 01:26:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5v0eEVprwiBUs2Etj3g8T7MhAvq/whXR2CoA+AYp8/RzAvy7d4+da8UD3O1T7e5JCv5AyD X-Received: by 2002:a17:907:744:b0:741:36b9:d2cc with SMTP id xc4-20020a170907074400b0074136b9d2ccmr2604246ejb.613.1665735965874; Fri, 14 Oct 2022 01:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665735965; cv=none; d=google.com; s=arc-20160816; b=h+U1HsrY7vK3MTZNtNZWQt8imwQl3v03C4hYOYPh0fQOgLseEdn/2gSmDXGq7jq0/j rKh8pJDDxD6v/9Mry/xKHk0ShPvMQTH/xoL7/KflmAb1n4ikFuVlHpCQU3XT3vcD2Xjp j1cFN2BJH0/t5QtTCJORdjKJsBEbGz48Dqn26SnT+RxsCCw8llKMRGRtK/zyDlfFVI9q WggTqbFTjarydRlij+HD7kZDWNKmqXuJnnenehNzoBWgQTEiuZQoGO6WM0TcisVUwRLW Pzbzwi6hRMR2yUHtM6eeKkicqoiuQrl1XF4hST8eBL4n+IqiIRYkbuBx1j6RU+veXz+A pgPA== 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=fyLseoL57wgNMMvR1FlVSHdo9PICI/PgDQQI+8vT/LE=; b=PGf1W6qd90lfc8+FS6D6DnEzk+UUqfV5PYqs/0a57Nibo8J0lLbZcNYyTAyih+dxxL fRzn4XFNJfzuc1b3CBE3AUJ17/zIlm0k+b6vh7XsGE2UFo3MmC5i7fBQozpJPny1g4g2 F3NO5pnkCCjFLeIhS4FlmkB0p1MZ4hWQuh2gnAjVe2B2pl4c17ZWpBcyIbfGHKqx8Xo1 IuAdq48SsJbNVsUHNO+lYaSQioxZl1+9WtFk8HQM8y+rAiPOZFpHvsLLTd6PVP5rZ+TN WRUOp0TXe7MfLvbvYCNxYDmfkQOr0gZXjYScH+ev1Y0f/2k6WVYJmrWf4E9rBjqtV6JR tx3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@momi.ca header.s=key1 header.b=G28mxB3r; 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 m4-20020a056402430400b0045ca15afe1csi1867292edc.553.2022.10.14.01.25.38; Fri, 14 Oct 2022 01:26:05 -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=G28mxB3r; 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 S229959AbiJNIUK (ORCPT + 99 others); Fri, 14 Oct 2022 04:20:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50878 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbiJNIUD (ORCPT ); Fri, 14 Oct 2022 04:20:03 -0400 Received: from out2.migadu.com (out2.migadu.com [IPv6:2001:41d0:2:aacc::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84EE7402CB for ; Fri, 14 Oct 2022 01:20:00 -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=1665735598; 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=fyLseoL57wgNMMvR1FlVSHdo9PICI/PgDQQI+8vT/LE=; b=G28mxB3rjSY1keMsTDXow1WvVXT4Fkvyz0JglBEqZwZwPgSxXIgEsjYYaG/45hS5qrYP0G Hps0z+7lxE2d4UXA/mNvARYYmFssYjgn59cZyPdx3OyMDcqwaJfH756ieyG6/vIrcZ2f1c K83gH70Tu570FJjDhioWVqxOgTw27Z3+ZLO5hf8N0j2KsBjkwd55fauW7jDOrVIleJx7oT cXf9bfY2Jyoa4xcGl9qjiUT4mk/BB5Ma0BXoPBOCZvuXyTKwtoH/DP/TT0tFAamVjvrdYe qvf2Y8o9piAqvKr13l3AZiwfaph/KOZ9l3zwbnayMCk+N3n0k55WLqH+IlmfsQ== From: Anjandev Momi To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Anjandev Momi Subject: [PATCH 2/4] Staging: rtl8192e: remove multiple blank lines Date: Fri, 14 Oct 2022 01:18:38 -0700 Message-Id: <20221014081839.23902-3-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?1746650756364770972?= X-GMAIL-MSGID: =?utf-8?q?1746650756364770972?= This patch removes the following checks generated by checkpatch.pl: ./drivers/staging/rtl8192e/rtl819x_BAProc.c:164: CHECK: Please don't use multiple blank lines ./drivers/staging/rtl8192e/rtl819x_BAProc.c:383: CHECK: Please don't use multiple blank lines Signed-off-by: Anjandev Momi --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index bd7efb8f1..f36c24c2a 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -161,7 +161,6 @@ static struct sk_buff *rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, *tag++ = ACT_CAT_BA; *tag++ = ACT_DELBA; - put_unaligned_le16(DelbaParamSet.short_data, tag); tag += 2; @@ -380,7 +379,6 @@ int rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) goto OnADDBARsp_Reject; } - pAdmittedBA->dialog_token = *pDialogToken; pAdmittedBA->ba_timeout_value = *pBaTimeoutVal; pAdmittedBA->ba_start_seq_ctrl = pPendingBA->ba_start_seq_ctrl; 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, From patchwork Fri Oct 14 08:18:40 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anjandev Momi X-Patchwork-Id: 2576 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp64095wrs; Fri, 14 Oct 2022 01:26:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6wi4NZquNGC+4imlFpyNt+nEHRtgBg64wOa925ob8WNOq4eWNLDiMSN1rehgbBpBndGgiH X-Received: by 2002:a17:907:3f27:b0:78d:ad42:f733 with SMTP id hq39-20020a1709073f2700b0078dad42f733mr2812036ejc.320.1665735986492; Fri, 14 Oct 2022 01:26:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665735986; cv=none; d=google.com; s=arc-20160816; b=qhquEaFkXgbH3OrjPW5LeSNQKfHEsHX1ykYGcgxDbu4F7YZm6MaeOs8h0CKgIONvqz ruStGcHlY6hF/Wft5XHGGK+556gIZSXSpOwv1zXRVDN74UD1aztJPzEnt9/qmjXDNDFO SPsB9AjX4t7m7dwIrkpFV/rhMdyz+b67/EB1Sx6kfaNymrCKwgWZAyeIeXUKf1/jgzP/ Ph8mf7JQimpMlj42WE9A1mii7+bshmZ44Q4ljQMXakK8jNzOrZRMxLJkyeziDa7Ss7DR E+NlE8an8rwujTkWkQ//G94jGP8ne9AtpGVb++5P723FI8SjDJfEapDkyjEaSyeTRmzR +WzA== 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=1Bw0wTiwP6eGlELX8NIJk0Tm4ksdmqLG9LGmsYlRymk=; b=ig7VhC1A6RbHm6YvAi0iVLfOh2qmbL188uaiuRloWqMfeHuJmv5/l6QUSEPSyDjwiU 2XtfRA+wqPTszIAGDN03ZSFe3QUZfqwoT2t/Fg+i351ZoTwobLuaiAKwl/7ZVqB0bM31 zc8IePzB6++3F4P3Zr/0uKHMdcdoeKy2SoA8PhqxxzXtWUV+Kr4kpjZw0FfKY5SHN+bV VBioYf3tt/fzLDNaCEzubIgUu+KDRf7j5UxrVq11ZTYaUeL5tG0oMq+P7vYZIpKGqDWu 8ToVMNHMizKvUGnNmaM9lUAIXwoSGn6/ZWVSKKkL39hDlGVMOefRa504ZcErZhL+rk2e slEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@momi.ca header.s=key1 header.b=DxnwpwKz; 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 go10-20020a1709070d8a00b0078d4c9d77adsi2324078ejc.94.2022.10.14.01.26.01; Fri, 14 Oct 2022 01:26:26 -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=DxnwpwKz; 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 S230090AbiJNIUs (ORCPT + 99 others); Fri, 14 Oct 2022 04:20:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53122 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229541AbiJNIUa (ORCPT ); Fri, 14 Oct 2022 04:20:30 -0400 Received: from out0.migadu.com (out0.migadu.com [IPv6:2001:41d0:2:267::]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6483436BD0 for ; Fri, 14 Oct 2022 01:20:25 -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=1665735623; 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=1Bw0wTiwP6eGlELX8NIJk0Tm4ksdmqLG9LGmsYlRymk=; b=DxnwpwKzDp7ZA1Sfmx+f9x4RwPJ9BqtIQyWWVDppD26mzTUot0WFd4+BsYIFhVyHCDtvDm +HlPJI/iCP5NquLwXcnTjXuP8FO94iN8I7aqxy8I65hTVpHM3A7Bu8Axt8iLQvoz0wpau8 YHvTPNcJKS/qxDLP6dFE6CFdsDEe3hQbS43FgQ4AtxmwN7gJz8bqnVO8FZmrQas9ibpVyf f6jBIfixz1/hrhjg4Ep/BjBwg+b+0NUH9R9zEX6E7sR135jYd1LgKWnrGjTcKyOdBffTJC px68uDru0ZN784DbabN3Q1RxPWCTeXjHw/YWD8ydf5WHQ3RP9p3Yt+U0knjrXA== From: Anjandev Momi To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Cc: Anjandev Momi Subject: [PATCH 4/4] Staging: rtl8192e: add blank line after function declaration Date: Fri, 14 Oct 2022 01:18:40 -0700 Message-Id: <20221014081839.23902-5-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?1746650777822830860?= X-GMAIL-MSGID: =?utf-8?q?1746650777822830860?= This patch removes the following check generated by checkpatch.pl ./drivers/staging/rtl8192e/rtl819x_BAProc.c:65: CHECK: Please use a blank line after function/struct/union/enum declarations Signed-off-by: Anjandev Momi --- drivers/staging/rtl8192e/rtl819x_BAProc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/rtl8192e/rtl819x_BAProc.c b/drivers/staging/rtl8192e/rtl819x_BAProc.c index 8d92b3426..67918ef41 100644 --- a/drivers/staging/rtl8192e/rtl819x_BAProc.c +++ b/drivers/staging/rtl8192e/rtl819x_BAProc.c @@ -62,6 +62,7 @@ void ResetBaEntry(struct ba_record *pBA) pBA->dialog_token = 0; pBA->ba_start_seq_ctrl.short_data = 0; } + static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst, struct ba_record *pBA, u16 StatusCode, u8 type)