Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1961527pxj; Sun, 16 May 2021 09:34:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjgFAdYdZ5i9znwCXFH0/mBQde+v7xVvRrHt+wKxWgFmmDeKoSdIH3XQXABL4s4gYHHl/p X-Received: by 2002:a05:6e02:13d3:: with SMTP id v19mr12636890ilj.168.1621182889052; Sun, 16 May 2021 09:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621182889; cv=none; d=google.com; s=arc-20160816; b=HDFK8qXySRbGsVK0deBZ95EzYAUfkRH55yzW2TlHwmKq6Er5FvyfHQtzFXcyGDI4uo leU9az8C1rspM/3T+5hHFzEYiD6u0GyCD0ky21pgzEBDs/L+7OgFg993b4KUbey6ujAZ rjbGznNNI1bY31uNLeZdEcOjLtyQsi/3VKnySVVJHl2kmapt7s9JVOzG6H++ZY8ajy6H BUKn/caRaS+pRxjPFfRWvhxySm16AucyTZ8PzFhoV49cE2FKrO6Eb8QiwYePGzmjxuaD RJbTrITACJwTkXs3m+5YeYsL8/j3RfWih+w2JR0E6Znu9fo11GpUJmGfpyBXMmeHmdaF qy+g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=WG3vPr7jTrZWJiot95jPYHU2QyOXWk1phufGNJD2xZI=; b=WgVZVGvgpsWYBjT/c1xdh7LIi3x2d6wzOVWM+x7beFzDd8c9NrGr9ADJP6SILcCMrT bwj1bhctNuJtnfqTIFjZkwQyCFTL4BT7TwwAVyaSz6+vHGUjDwpVW1x+97Xa0XrIgWX5 ZJUIbXoywHWJod/l4jXA293aIFnGQjrpB7t8yLQ0YaL0LysiJSKM47z+OoWB8jgw2XpX KbK4G8dB+yzb4JcYpZad70FdS8mEueGI+JYfUBbD4rvZRmweWG2sBK0IyKMxy3HBR4+E 05quc6YF3tOZ1fe3v5mh/02loAj3qHObiN37wXKDj96n+pKoDvvK9vRFiAFwpEjxEIXc TliQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V3RGkfHJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id l11si15544352jah.65.2021.05.16.09.34.36; Sun, 16 May 2021 09:34:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=V3RGkfHJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S232805AbhEPMbR (ORCPT + 99 others); Sun, 16 May 2021 08:31:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230185AbhEPMbR (ORCPT ); Sun, 16 May 2021 08:31:17 -0400 Received: from mail-pl1-x636.google.com (mail-pl1-x636.google.com [IPv6:2607:f8b0:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 88ECCC061573 for ; Sun, 16 May 2021 05:30:02 -0700 (PDT) Received: by mail-pl1-x636.google.com with SMTP id h7so1733128plt.1 for ; Sun, 16 May 2021 05:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WG3vPr7jTrZWJiot95jPYHU2QyOXWk1phufGNJD2xZI=; b=V3RGkfHJyAKNttBRs2ZB9e2X2di/5AI8Fn9ZsnPjqhfBwRFgo2GYZKZY9uUCX3c95Z 6odMZIGiOvl5adcoBnz57aSGgNutvwkLdbe6y1vBj65SY4o06lad5cZhXyrcF49UGz/N ugjrryLmomOpVA+tCMuxxAEMT2tZ0uxcZRMogCMPwkvlZOFsDbjltywQGJcXnLJMjeV7 t9Cva5qVoD/ui5GxLv4M0Zcib/BeBWLYten2D2bhtqHawqBjMewBIkivp6AGfnqzYwlb uMFyF1nr+ZxVUb7ucwMgsxdlBIFwO8lQghEvF5VJCmZjUYMLE86nhpbH+WoRlNFA7qiP 8w7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WG3vPr7jTrZWJiot95jPYHU2QyOXWk1phufGNJD2xZI=; b=JBh1ujql3z1CHXabiFP6s55LSb9/tH62sddyh/UyPr/5zPIWxHvYAKb5Oz/pdPqx5U T1JISlYUI2v1WEJvwJqyVuIMeW1H7CeDIEFUDnHJdcp5YWP7JybXjnlYGkKkg6xrof3F DKfFA7EyqqsbN1tK8GCqRjq1E54QAeU6pryjx0q7lzBQwYiJeTSG5BRE1x4/Mx2rSAdf s6yHnNR6tzOmfDZ3/nFAkwaxeswqQy9tJgzcnGD5oEvpYbcS+RAfAB9xVgCXxKpZz7lM 4cQv5iMHhLOAHhopueKpLVeJ5MfDZGcUnVTZqH72jmm3Cm7W1lrCeqirUxbvOhnk2ty7 wuAA== X-Gm-Message-State: AOAM532MXc9CYj7frqCGCrC3K8c/JsTGZ5sNlL5FRdWtvXslcMy+l5Z7 GmW319+DnMiz/UGhllXCToUaqk53sJEp6WhRDgKiCA== X-Received: by 2002:a17:90a:94c5:: with SMTP id j5mr12062466pjw.121.1621168202092; Sun, 16 May 2021 05:30:02 -0700 (PDT) Received: from localhost.localdomain ([111.223.96.126]) by smtp.gmail.com with ESMTPSA id k186sm8004318pgk.82.2021.05.16.05.29.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 May 2021 05:30:01 -0700 (PDT) From: Desmond Cheong Zhi Xi To: gregkh@linuxfoundation.org, marcocesati@gmail.com, dan.carpenter@oracle.com, fabioaiuto83@gmail.com, fmdefrancesco@gmail.com, eantoranz@gmail.com, hdegoede@redhat.com, Larry.Finger@lwfinger.net Cc: Desmond Cheong Zhi Xi , skhan@linuxfoundation.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, linux-kernel-mentees@lists.linuxfoundation.org Subject: [PATCH 0/7] Staging: rtl8723bs: fix warnings in HalBtc8723b1Ant.c Date: Sun, 16 May 2021 08:29:20 -0400 Message-Id: <20210516122927.1132356-1-desmondcheongzx@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch set fixes 134 checkpatch.pl warnings in the file drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c Although checkpatch.pl reports a large number of checks, these are for issues that were present in the original code. In fact, in the process of fixing warnings, the total number of checks decreased from 548 to 546. All patches are syntax fixes and no logic is changed. As there are a lot of different warnings, to make things easier to review, each patch addresses a different set of warnings in the following order: - braces {} are not necessary for any arm of this statement - please, no space before tabs - suspect code indent for conditional statements - Statements should start on a tabstop (this type of warning is solved alongside the previous warning type in the same patch because the fix for one warning addresses the other) - Comparisons should place the constant on the right side of the test - Missing a blank line after declarations - Avoid unnecessary line continuations - Block comments use * on subsequent lines Desmond Cheong Zhi Xi (7): Staging: rtl8723bs: remove unnecessary braces in HalBtc8723b1Ant.c Staging: rtl8723bs: fix spaces in HalBtc8723b1Ant.c Staging: rtl8723bs: fix indentation in HalBtc8723b1Ant.c Staging: rtl8723bs: fix comparison formatting in HalBtc8723b1Ant.c Staging: rtl8723bs: add missing blank line in HalBtc8723b1Ant.c Staging: rtl8723bs: fix line continuations in HalBtc8723b1Ant.c Staging: rtl8723bs: fix block comment in HalBtc8723b1Ant.c .../staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 335 +++++++++--------- 1 file changed, 158 insertions(+), 177 deletions(-) -- 2.25.1